cardmgr stop/start cf ide on resume
Christian Lambert <[email protected]> Tue, 17 Dec 2002 08:16:19 -0800 (PST)
| Newsgroups | gmane.linux.pcmcia.devel |
|---|---|
| Message-ID | <[email protected]> |
[include [email protected] in reply please as I am not on the list] I am the maintainer of the pcmcia-cs package on OpenZaurus linux distribution. We are running 3.2.3 on a Zaurus Linux PDA It's cross-compiled for ARM. We are chasing a bug that seems to be coming from the cardmgr deamon. Everytime we suspend the zaurus and then resume, the CF card will be sent a stop/start from cardmgr for an unknown reason. It only does that with CF ide cards, and not all of them from what I could gather. I cannot yet find a pattern, but may be related to size of the card. We are using the i82365 PCIC in the config. I would like to get your opinion on how we can track this down, if you think the problem is kernel related or pcmcia-cs. We are using kernel 2.4.6 PCMCIA drivers. We are trying to use 2.4.19, but we have to port a lot of zaurus device drivers for it to work and it's far from being done. We are tracking the bug on sf.net for openzaurus at: http://sourceforge.net/tracker/?func=detail&aid=639715&group_id=43045&atid=434956 Here is the log that shows the problem: Dec 10 12:35:02 zaurus daemon.debug apmd[294]: call_proxy: Executing proxy: '/etc/apm/apmd_proxy' 'resume' 'suspend' Dec 10 12:35:03 zaurus daemon.info cardmgr[367]: executing: './ide resume hda' Dec 10 12:35:03 zaurus user.notice /etc/hotplug/usbd.agent: USBD restore-loaded Action Recived Dec 10 12:35:03 zaurus daemon.info cardmgr[367]: executing: './ide stop hda' Dec 10 12:35:03 zaurus syslog.info klogd: sa1100_bi 0.2 000 2001-12-09 00:57 (dbg="") Dec 10 12:35:03 zaurus syslog.debug klogd: sa1100_bi_request: SA1100 USBD OUT - rcv dma 2 Dec 10 12:35:03 zaurus syslog.debug klogd: sa1100_bi_request: SA1100 USBD IN - tx dma 3 Dec 10 12:35:03 zaurus daemon.debug apmd[294]: call_proxy: + run-parts: failed to exec /etc/apm/event.d/00hwclock: Permission denied run-parts: /etc/apm/event.d/00hwclock exited with return code 1: Success Dec 10 12:35:03 zaurus daemon.info apmd[294]: Normal Resume Dec 10 12:35:04 zaurus syslog.debug klogd: ide_detach(0xc257d780) Dec 10 12:35:04 zaurus syslog.debug klogd: ide_release(0xc257d780) Dec 10 12:35:04 zaurus daemon.info cardmgr[367]: socket 0: ATA/IDE Fixed Disk Dec 10 12:35:04 zaurus syslog.debug klogd: ide_attach() Dec 10 12:35:04 zaurus syslog.debug klogd: ide_config(0xc257d380) Dec 10 12:35:04 zaurus daemon.info apmd[294]: Battery: 100%, discharging (+0% over 0:00:17), ? to empty Dec 10 12:35:04 zaurus user.notice root: CARDMONAPPLET: mtabchanged Dec 10 12:35:04 zaurus user.notice root: CARDMONAPPLET: mtabchanged Dec 10 12:35:04 zaurus syslog.warn klogd: hda: TOSHIBA THNCF256MMA, ATA DISK drive Dec 10 12:35:04 zaurus syslog.warn klogd: ide0 at 0xf6000000-0xf6000007,0xf600000e on irq 35 Dec 10 12:35:04 zaurus syslog.info klogd: hda: 500736 sectors (256 MB) w/2KiB Cache, CHS=978/16/32 Dec 10 12:35:04 zaurus daemon.info cardmgr[367]: executing: './ide start hda' Dec 10 12:35:04 zaurus syslog.info klogd: hda1 Dec 10 12:35:04 zaurus syslog.info klogd: ide_cs: hda: Vcc = 3.3, Vpp = 0.0 Dec 10 12:35:05 zaurus syslog.debug klogd: VFS: Disk change detected on device ide0(3,1) This is our ide.opts file: case "$ADDRESS" in *,*,*,1) DO_FSCK="y" ; DO_MOUNT="y" FSTYPE="auto" ;; *,*,*) PARTS="1" NO_CHECK=n NO_FUSER=n ;; esac ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/