Skip to contentSkip to conversation

PCMCIA CD-ROM does not work

DISCUSSION Thom Borton 5 participants 13 messages Oct 10, 2003 – Nov 10, 2003

lore
Share & tools
lore
#0 lore raw

Hello everybody

I have a Sony Vaio PCG-Z600NE with an external PCMCIA 4x CD-ROM drive, which used to work perfectly until around 2.4.18. With later kernels I did not succeed to get it running. I tried extensively with 2.4.22. As far as I remember, 2.4.19-21 did not work either.

I have attached the syslogs for 2.4.18, 2.4.22 and 2.6.0-test7.

Any idea what's wrong? Thanks for the help.

Thom

Signature · 2 lines
Thom Borton
Switzerland
Oct 10 09:35:49 grisu kernel: Yenta IRQ list 00b8, PCI irq9
Oct 10 09:35:49 grisu kernel: Socket status: 30000086
Oct 10 09:35:49 grisu cardmgr[378]: watching 1 socket
Oct 10 09:35:49 grisu cardmgr[379]: starting, version is 3.2.5
Oct 10 09:36:09 grisu cardmgr[379]: socket 0: Ninja ATA
Oct 10 09:36:09 grisu kernel: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcbfff 0xdc000-0xdffff 0xe8000-0xfffff
Oct 10 09:36:09 grisu cardmgr[379]: executing: 'modprobe ide-cs'
Oct 10 09:36:12 grisu kernel: hde: TOSHIBA CD-ROM XM-7002Bc, ATAPI CD/DVD-ROM drive
Oct 10 09:36:12 grisu kernel: hde: IRQ probe failed (0xb4f8)
Oct 10 09:36:12 grisu kernel: hdf: IRQ probe failed (0xb4f8)
Oct 10 09:36:12 grisu kernel: hdf: IRQ probe failed (0xb4f8)
Oct 10 09:36:12 grisu kernel: ide2: DISABLED, NO IRQ
Oct 10 09:36:15 grisu kernel: ide2: ports already in use, skipping probe
Oct 10 09:36:31 grisu last message repeated 8 times
Oct 10 09:36:31 grisu kernel: ide_cs: ide_register() at 0x180 & 0x386, irq 0 failed
Oct 10 09:36:32 grisu cardmgr[379]: get dev info on socket 0 failed: Resource temporarily unavailable
Oct 10 09:36:36 grisu cardmgr[379]: executing: 'modprobe -r ide-cs'
Oct 10 09:31:46 grisu kernel: Yenta IRQ list 00b8, PCI irq9
Oct 10 09:31:46 grisu kernel: Socket status: 30000416
Oct 10 09:31:46 grisu cardmgr[381]: watching 1 socket
Oct 10 09:31:46 grisu kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Oct 10 09:31:46 grisu kernel: cs: IO port probe 0x0800-0x08ff: clean.
Oct 10 09:31:46 grisu kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x220-0x22f 0x330-0x33f 0x370-0x37f 0x388-0x38f 0x398-0x39f 0x3f8-0x3ff 0x4d0-0x4d7
Oct 10 09:31:46 grisu kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Oct 10 09:31:46 grisu cardmgr[382]: starting, version is 3.2.5
Oct 10 09:32:09 grisu cardmgr[382]: socket 0: Ninja ATA
Oct 10 09:32:09 grisu kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Oct 10 09:32:09 grisu cardmgr[382]: executing: 'modprobe ide-cs'
Oct 10 09:32:12 grisu kernel: hde: TOSHIBA CD-ROM XM-7002Bc, ATAPI CD/DVD-ROM drive
Oct 10 09:32:12 grisu kernel: ide2 at 0x180-0x187,0x386 on irq 3
Oct 10 09:32:12 grisu kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0
Oct 10 09:32:12 grisu cardmgr[382]: executing: './ide start hde'
Oct 10 09:32:12 grisu kernel: hde: bad special flag: 0x03
Oct 10 09:32:28 grisu kernel: hde: ATAPI 16X CD-ROM drive, 128kB Cache
Oct 10 09:32:28 grisu kernel: Uniform CD-ROM driver Revision: 3.12
Oct 10 09:32:29 grisu kernel: VFS: Disk change detected on device ide2(33,0)
Oct 10 09:32:29 grisu kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Oct 10 09:32:29 grisu kernel: ISOFS: changing to secondary root
Oct 10 09:32:38 grisu kernel: ide2: unexpected interrupt, status=0xff, count=1
Oct 10 09:32:39 grisu cardmgr[382]: executing: './ide stop hde'
Oct 10 09:32:39 grisu modprobe: modprobe: Can't locate module block-major-33
Oct 10 09:32:39 grisu cardmgr[382]: + open() failed: No such device or address
Oct 10 09:32:39 grisu cardmgr[382]: executing: 'modprobe -r ide-cs'
Oct 10 09:38:57 grisu kernel: Yenta: CardBus bridge found at 0000:00:0c.0 [104d:8082]
Oct 10 09:38:57 grisu kernel: Yenta: ISA IRQ list 00b8, PCI irq9
Oct 10 09:38:57 grisu kernel: Socket status: 30000086
Oct 10 09:38:58 grisu cardmgr[411]: watching 1 socket
Oct 10 09:38:58 grisu cardmgr[412]: starting, version is 3.2.5
Oct 10 09:39:15 grisu cardmgr[412]: socket 0: Ninja ATA
Oct 10 09:39:15 grisu kernel: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcbfff 0xdc000-0xdffff 0xe8000-0xfffff
Oct 10 09:39:15 grisu cardmgr[412]: executing: 'modprobe ide-cs'
Oct 10 09:39:15 grisu kernel: ide-cs: RequestIRQ: Unsupported mode
Oct 10 09:39:15 grisu cardmgr[412]: get dev info on socket 0 failed: No such device
Oct 10 09:39:31 grisu cardmgr[412]: executing: 'modprobe -r ide-cs'
Oct 10 09:39:31 grisu cardmgr[412]: + FATAL: Error removing ide_cs (/lib/modules/2.6.0-test6/kernel/drivers/ide/legacy/ide-cs.ko): Kernel does not have module unloading support
Oct 10 09:39:31 grisu cardmgr[412]: modprobe exited with status 1
#1 lore raw
Quoted 11 lines · Thom Borton

Hello everybody

I have a Sony Vaio PCG-Z600NE with an external PCMCIA 4x CD-ROM drive, which used to work perfectly until around 2.4.18. With later kernels I did not succeed to get it running. I tried extensively with 2.4.22. As far as I remember, 2.4.19-21 did not work either.

I have attached the syslogs for 2.4.18, 2.4.22 and 2.6.0-test7.

Any idea what's wrong? Thanks for the help.

I'm not sure what broke it, but if you boot with "ide1=0x386,0x180 pci=off" it works again. Not a perfect solution, but until someone does some digging to find out exactly when it broke, we're stuck.

Dave

Signature · 1 line
 Dave Jones     http://www.codemonkey.org.uk
#2 lore raw

Thanks a lot, I tried the parameters

	ide1=0x386,0x180 pci=off

and it did not work. pci=off seems to have broken quite a lot (fb, jogdial, ...). Just leaving it away and just having ide1=0x386,0x180 didn't help the CD-ROM drive either.

I am now compiling the 2.4.19/20/21 kernels to try to figure out, where it broke. I have some suspicion that it happened when ide-cs.c was moved to legacy from drivers/ide.

BTW, if it's legacy, what replaces it?

Thom

Quoted 18 lines · Dave Jones
Quoted 11 lines · Thom Borton

Hello everybody

I have a Sony Vaio PCG-Z600NE with an external PCMCIA 4x CD-ROM drive, which used to work perfectly until around 2.4.18. With later kernels I did not succeed to get it running. I tried extensively with 2.4.22. As far as I remember, 2.4.19-21 did not work either.

I have attached the syslogs for 2.4.18, 2.4.22 and 2.6.0-test7.

Any idea what's wrong? Thanks for the help.

I'm not sure what broke it, but if you boot with "ide1=0x386,0x180 pci=off" it works again. Not a perfect solution, but until someone does some digging to find out exactly when it broke, we're stuck.

Dave

Signature · 2 lines
Thom Borton
Switzerland
Oct 10 17:30:43 grisu kernel: Yenta IRQ list 00b8, PCI irq9
Oct 10 17:30:43 grisu kernel: Socket status: 30000416
Oct 10 17:30:43 grisu cardmgr[378]: watching 1 socket
Oct 10 17:30:43 grisu cardmgr[379]: starting, version is 3.2.5
Oct 10 17:30:59 grisu cardmgr[379]: socket 0: Ninja ATA
Oct 10 17:30:59 grisu kernel: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcbfff 0xdc000-0xdffff 0xe8000-0xfffff
Oct 10 17:30:59 grisu cardmgr[379]: executing: 'modprobe ide-cs'
Oct 10 17:31:18 grisu kernel: hdc: TOSHIBA CD-ROM XM-7002Bc, ATAPI CD/DVD-ROM drive
Oct 10 17:31:18 grisu kernel: hdc: IRQ probe failed (0xb4f8)
Oct 10 17:31:18 grisu kernel: hdd: IRQ probe failed (0xb4f8)
Oct 10 17:31:18 grisu kernel: hdd: IRQ probe failed (0xb4f8)
Oct 10 17:31:18 grisu kernel: hdd: no response (status = 0x0a), resetting drive
Oct 10 17:31:18 grisu kernel: hdd: IRQ probe failed (0xb4f8)
Oct 10 17:31:18 grisu kernel: hdd: no response (status = 0x0a)
Oct 10 17:31:18 grisu kernel: ide1: DISABLED, NO IRQ
Oct 10 17:31:20 grisu kernel: ide1: ports already in use, skipping probe
Oct 10 17:31:36 grisu last message repeated 8 times
Oct 10 17:31:37 grisu kernel: ide_cs: ide_register() at 0x180 & 0x386, irq 0 failed
Oct 10 17:31:38 grisu cardmgr[379]: get dev info on socket 0 failed: Resource temporarily unavailable
Oct 10 17:31:41 grisu cardmgr[379]: executing: 'modprobe -r ide-cs'
#3 lore raw
Quoted 9 lines · Thom Borton

Thanks a lot, I tried the parameters

	ide1=0x386,0x180 pci=off

and it did not work. pci=off seems to have broken quite a lot (fb, jogdial, ...). Just leaving it away and just having ide1=0x386,0x180 didn't help the CD-ROM drive either.

I am now compiling the 2.4.19/20/21 kernels to try to figure out, where it broke. I have some suspicion that it happened when ide-cs.c was moved to legacy from drivers/ide.

I suspect yenta.

Quoted 1 line

BTW, if it's legacy, what replaces it?

It's legacy not obsolete.

--bartlomiej

#4 lore raw
In reply to Thom Borton
Quoted 6 lines · Thom Borton

Thanks a lot, I tried the parameters

	ide1=0x386,0x180 pci=off

and it did not work. pci=off seems to have broken quite a lot (fb, jogdial, ...). Just leaving it away and just having ide1=0x386,0x180 didn't help the CD-ROM drive either.

Something else that needs fixing is pcmcia-cs has its exclude list for the RadeonIGP bug set way too wide. /etc/pcmcia/config.opts has..

exclude port 0x380-0x3ff

Which is bad news, as the Vaio wants port 0x386. The actual ports that cause problems are 0x3b0->0x3bb and 0x3d3

After fixing this, it detects the drive, but hangs when you try and mount it.

Dave

Signature · 1 line
 Dave Jones     http://www.codemonkey.org.uk
#5 lore raw

You were both right. With CONFIG_ISA the system does not hang when I plug in the PCMCIA card, but I cannot mount it later.

What can I do then?

Thanks for your help,

Thom

Quoted 20 lines · you
Quoted 5 lines · Thom Borton

Thanks a lot, I tried the parameters

	ide1=0x386,0x180 pci=off

and it did not work. pci=off seems to have broken quite a lot (fb, jogdial, ...). Just leaving it away and just having ide1=0x386,0x180 didn't help the CD-ROM drive either.

Something else that needs fixing is pcmcia-cs has its exclude list for the RadeonIGP bug set way too wide. /etc/pcmcia/config.opts has..

exclude port 0x380-0x3ff

Which is bad news, as the Vaio wants port 0x386. The actual ports that cause problems are 0x3b0->0x3bb and 0x3d3

After fixing this, it detects the drive, but hangs when you try and mount it.

Dave

Signature · 2 lines
Thom Borton
Switzerland
#6 lore raw
Quoted 4 lines · Thom Borton

You were both right. With CONFIG_ISA the system does not hang when I plug in the PCMCIA card, but I cannot mount it later.

What can I do then?

Binary search to find the exact pre that broke this would be a good start.

Dave

Signature · 1 line
 Dave Jones     http://www.codemonkey.org.uk
#7 lore raw

Hey

If have now compiled a series of kernels starting from 2.4.18 up to 2.4.22. The drive stops working with 2.4.21. That is indeed where the "drivers/ide/legacy" directory was introduced.

What do you mean by binary search? What's a "pre"?

Further: In 2.4.22 I get an Oops and the whole system stops when I unplug the pcmcia card -> hard reset.

It says:

///////////
remove_proc_entry: hde/identify busy, count=1
remove_proc_entry: ide2/hde busy, count=1

Unable to handle kernel paging request at virtual address 655f6373
 printing eip:
c011c5b5
*pde = 00000000
Oops: 0002

CPU: 0
.......
.......
<0>Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing ///////////

Sound's scarry, but doesnt tell me a lot, except that I have to reboot the system.

I attached the syslog files for the various working and non-working configurations.

Thanks for your help,

Thom

Quoted 10 lines · Dave Jones
Quoted 4 lines · Thom Borton

You were both right. With CONFIG_ISA the system does not hang when I plug in the PCMCIA card, but I cannot mount it later.

What can I do then?

Binary search to find the exact pre that broke this would be a good start.

Dave

Signature · 2 lines
Thom Borton
Switzerland

: Serial sub-system self-test: passed.

Oct 10 17:47:21 grisu kernel:   Internal registers self-test: passed.
Oct 10 17:47:21 grisu kernel:   ROM checksum self-test: passed (0x04f4518b).
Oct 10 17:47:21 grisu kernel:   Receiver lock-up workaround activated.
Oct 10 17:47:21 grisu apmd[320]: apmd 3.2.0 interfacing with apm driver 1.16 and APM BIOS 1.2
Oct 10 17:47:23 grisu modprobe: modprobe: Can't locate module char-major-6
Oct 10 17:47:23 grisu last message repeated 5 times
Oct 10 17:47:23 grisu modprobe: modprobe: Can't locate module char-major-4
Oct 10 17:47:24 grisu last message repeated 3 times
Oct 10 17:47:26 grisu kernel: Linux Kernel Card Services 3.1.22
Oct 10 17:47:26 grisu kernel:   options:  [pci] [cardbus] [pm]
Oct 10 17:47:26 grisu kernel: PCI: Found IRQ 9 for device 00:0c.0
Oct 10 17:47:26 grisu kernel: PCI: Sharing IRQ 9 with 00:0a.0
Oct 10 17:47:26 grisu kernel: Yenta IRQ list 00b8, PCI irq9
Oct 10 17:47:26 grisu kernel: Socket status: 30000416
Oct 10 17:47:26 grisu cardmgr[388]: watching 1 socket
Oct 10 17:47:26 grisu kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Oct 10 17:47:26 grisu kernel: cs: IO port probe 0x0800-0x08ff: clean.
Oct 10 17:47:26 grisu kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x220-0x22f 0x330-0x33f 0x370-0x37f 0x388-0x38f 0x398-0x39f 0x3f8-0x3ff 0x4d0-0x4d7
Oct 10 17:47:26 grisu kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Oct 10 17:47:26 grisu cardmgr[389]: starting, version is 3.2.5
Oct 10 17:47:28 grisu anacron[414]: Anacron 2.3 started on 2003-10-10
Oct 10 17:47:29 grisu /usr/sbin/cron[416]: (CRON) INFO (pidfile fd = 3)
Oct 10 17:47:29 grisu /usr/sbin/cron[417]: (CRON) STARTUP (fork ok)
Oct 10 17:47:29 grisu anacron[414]: Normal exit (0 jobs run)
Oct 10 17:47:29 grisu /usr/sbin/cron[417]: (CRON) INFO (Running @reboot jobs)
Oct 10 17:47:49 grisu cardmgr[389]: socket 0: Ninja ATA
Oct 10 17:47:49 grisu kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Oct 10 17:47:50 grisu cardmgr[389]: executing: 'modprobe ide-cs'
Oct 10 17:47:53 grisu kernel: hde: TOSHIBA CD-ROM XM-7002Bc, ATAPI CD/DVD-ROM drive
Oct 10 17:47:53 grisu kernel: ide2 at 0x180-0x187,0x386 on irq 3
Oct 10 17:47:53 grisu kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0
Oct 10 17:47:53 grisu cardmgr[389]: executing: './ide start hde'
Oct 10 17:47:53 grisu kernel: hde: bad special flag: 0x03
Oct 10 17:48:09 grisu kernel: hde: ATAPI 16X CD-ROM drive, 128kB Cache
Oct 10 17:48:09 grisu kernel: Uniform CD-ROM driver Revision: 3.12
Oct 10 17:48:10 grisu kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Oct 10 17:48:10 grisu kernel: ISOFS: changing to secondary root
Oct 10 17:48:15 grisu kernel: ide2: unexpected interrupt, status=0xff, count=1
Oct 10 17:48:15 grisu cardmgr[389]: executing: './ide stop hde'
Oct 10 17:48:15 grisu modprobe: modprobe: Can't locate module block-major-33
Oct 10 17:48:15 grisu cardmgr[389]: + open() failed: No such device or address
Oct 10 17:48:16 grisu cardmgr[389]: executing: 'modprobe -r ide-cs'
Oct 11 12:29:51 grisu cardmgr[382]: socket 0: Ninja ATA
Oct 11 12:29:51 grisu cardmgr[382]: executing: 'modprobe ide-cs'
Oct 11 12:29:54 grisu kernel: hde: TOSHIBA CD-ROM XM-7002Bc, ATAPI CD/DVD-ROM drive
Oct 11 12:29:54 grisu kernel: ide2 at 0x180-0x187,0x386 on irq 3
Oct 11 12:29:54 grisu kernel: hde: ATAPI 16X CD-ROM drive, 128kB Cache
Oct 11 12:30:02 grisu kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0
Oct 11 12:30:02 grisu cardmgr[382]: executing: './ide start hde'
Oct 11 12:30:02 grisu kernel: ISO 9660 Extensions: Microsoft Joliet Level 3
Oct 11 12:30:02 grisu kernel: ISOFS: changing to secondary root
Oct 11 12:30:11 grisu kernel: ide2: unexpected interrupt, status=0xff, count=4
Oct 11 12:30:11 grisu cardmgr[382]: executing: './ide stop hde'
Oct 11 12:30:11 grisu modprobe: modprobe: Can't locate module block-major-33
Oct 11 12:30:11 grisu cardmgr[382]: + open() failed: No such device or address
Oct 11 12:30:11 grisu cardmgr[382]: executing: 'modprobe -r ide-cs'
Oct 10 18:22:48 grisu kernel: Yenta IRQ list 00b8, PCI irq9
Oct 10 18:22:48 grisu kernel: Socket status: 30000006
Oct 10 18:22:48 grisu cardmgr[381]: watching 1 socket
Oct 10 18:22:48 grisu kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Oct 10 18:22:48 grisu kernel: cs: IO port probe 0x0800-0x08ff: clean.
Oct 10 18:22:48 grisu kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x220-0x22f 0x330-0x33f 0x370-0x37f 0x388-0x38f 0x398-0x39f 0x3f8-0x3ff 0x4d0-0x4d7
Oct 10 18:22:48 grisu kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Oct 10 18:22:48 grisu cardmgr[382]: starting, version is 3.2.5
Oct 10 18:23:25 grisu kernel: cs: socket c17ff800 voltage interrogation timed out
#8 lore raw
Quoted 8 lines · Thom Borton

Hey

If have now compiled a series of kernels starting from 2.4.18 up to 2.4.22. The drive stops working with 2.4.21. That is indeed where the "drivers/ide/legacy" directory was introduced.

What do you mean by binary search? What's a "pre"?

Try 2.4.21-pre1, 2.4.21-pre2, 2.4.21-pre3 etc. to find exactly where it stopped working. You can find the patches against 2.4.20 at

ftp.kernel.org/pub/linux/kernel/v2.4/testing/old/

Quoted 21 lines

Further: In 2.4.22 I get an Oops and the whole system stops when I unplug the pcmcia card -> hard reset.

It says:

///////////
remove_proc_entry: hde/identify busy, count=1
remove_proc_entry: ide2/hde busy, count=1

Unable to handle kernel paging request at virtual address 655f6373
 printing eip:
c011c5b5
*pde = 00000000
Oops: 0002

CPU: 0
.......
.......
<0>Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing ///////////

Quoted 2 lines

Sound's scarry, but doesnt tell me a lot, except that I have to reboot the system.

Can you please post the full kernel panic message?

#9 lore raw

Hello Marcelo

The problem starts with 2.4.21-pre1. A couple of seconds after I plug in the PCMCIA card, the system stops. No noise, no oops, just freeze.

Attached you find the corresponding syslog entries.

Thanks a lot, Tobias

Quoted 45 lines · Marcelo Tosatti
Quoted 7 lines · Thom Borton

Hey

If have now compiled a series of kernels starting from 2.4.18 up to 2.4.22. The drive stops working with 2.4.21. That is indeed where the "drivers/ide/legacy" directory was introduced.

What do you mean by binary search? What's a "pre"?

Try 2.4.21-pre1, 2.4.21-pre2, 2.4.21-pre3 etc. to find exactly where it stopped working. You can find the patches against 2.4.20 at

ftp.kernel.org/pub/linux/kernel/v2.4/testing/old/

Quoted 20 lines

Further: In 2.4.22 I get an Oops and the whole system stops when I unplug the pcmcia card -> hard reset.

It says:

///////////
remove_proc_entry: hde/identify busy, count=1
remove_proc_entry: ide2/hde busy, count=1

Unable to handle kernel paging request at virtual address
655f6373 printing eip:
c011c5b5
*pde = 00000000
Oops: 0002

CPU: 0
.......
.......
<0>Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing ///////////

Quoted 2 lines

Sound's scarry, but doesnt tell me a lot, except that I have to reboot the system.

Can you please post the full kernel panic message?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
Thom Borton
Switzerland
Oct 15 09:32:10 grisu kernel: PCI: Found IRQ 9 for device 00:0c.0
Oct 15 09:32:10 grisu kernel: PCI: Sharing IRQ 9 with 00:0a.0
Oct 15 09:32:10 grisu kernel: Yenta IRQ list 00b8, PCI irq9
Oct 15 09:32:10 grisu kernel: Socket status: 30000006
Oct 15 09:32:10 grisu cardmgr[385]: watching 1 socket
Oct 15 09:32:10 grisu kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Oct 15 09:32:10 grisu kernel: cs: IO port probe 0x0800-0x08ff: clean.
Oct 15 09:32:10 grisu kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x220-0x22f 0x330-0x33f 0x370-0x37f 0x388-0x38f 0x398-0x39f 0x3f8-0x3ff 0x4d0-0x4d7
Oct 15 09:32:10 grisu kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Oct 15 09:32:10 grisu cardmgr[386]: starting, version is 3.2.5
Oct 15 09:32:12 grisu anacron[411]: Anacron 2.3 started on 2003-10-15
Oct 15 09:32:12 grisu /usr/sbin/cron[413]: (CRON) INFO (pidfile fd = 3)
Oct 15 09:32:12 grisu /usr/sbin/cron[414]: (CRON) STARTUP (fork ok)
Oct 15 09:32:13 grisu anacron[411]: Will run job `cron.daily' in 5 min.
Oct 15 09:32:13 grisu anacron[411]: Jobs will be executed sequentially
Oct 15 09:32:13 grisu /usr/sbin/cron[414]: (CRON) INFO (Running @reboot jobs)
Oct 15 09:32:45 grisu cardmgr[386]: socket 0: Ninja ATA
Oct 15 09:32:45 grisu kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Oct 15 09:32:45 grisu cardmgr[386]: executing: 'modprobe ide-cs'
Oct 15 09:32:48 grisu kernel: hde: TOSHIBA CD-ROM XM-7002Bc, ATAPI CD/DVD-ROM drive
Oct 15 09:32:48 grisu kernel: ide2 at 0x180-0x187,0x386 on irq 3
Oct 15 09:32:48 grisu kernel: ide_cs: hde: Vcc = 5.0, Vpp = 0.0
Oct 15 09:32:48 grisu cardmgr[386]: executing: './ide start hde'
Oct 15 09:32:49 grisu kernel: hde: bad special flag: 0x03
#10 lore raw
In reply to Marcelo Tosatti

Hello Marcelo

The problem seems to be one of those self-healing things that occur once in a while. I just tried 2.4.23-pre9 and the CD-ROM drive works again. Plug in the PCMCIA card, double beep, mount disk, read it, unmount, unplug card. A mysterious syslog message about a "bad special flag" that had always shown up has also disappeared.

Seems like someone has worked on it :-)

Anyways, thanks to all kernel developers,

Thom

P.S.: For those interested, the problem was about a PCMCIA CD-ROM on a Sony Vaio PCG-Z600NE that stopped working with 2.4.21/22.

Quoted 39 lines · you
Quoted 7 lines · Thom Borton

Hey

If have now compiled a series of kernels starting from 2.4.18 up to 2.4.22. The drive stops working with 2.4.21. That is indeed where the "drivers/ide/legacy" directory was introduced.

What do you mean by binary search? What's a "pre"?

Try 2.4.21-pre1, 2.4.21-pre2, 2.4.21-pre3 etc. to find exactly where it stopped working. You can find the patches against 2.4.20 at

ftp.kernel.org/pub/linux/kernel/v2.4/testing/old/

Quoted 20 lines

Further: In 2.4.22 I get an Oops and the whole system stops when I unplug the pcmcia card -> hard reset.

It says:

///////////
remove_proc_entry: hde/identify busy, count=1
remove_proc_entry: ide2/hde busy, count=1

Unable to handle kernel paging request at virtual address
655f6373 printing eip:
c011c5b5
*pde = 00000000
Oops: 0002

CPU: 0
.......
.......
<0>Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing ///////////

Quoted 2 lines

Sound's scarry, but doesnt tell me a lot, except that I have to reboot the system.

Can you please post the full kernel panic message?

Signature · 2 lines
Thom Borton
Switzerland
#11 lore raw
In reply to Thom Borton
Quoted 9 lines · Thom Borton
Oct 10 09:38:57 grisu kernel: Yenta: CardBus bridge found at 0000:00:0c.0 [104d:8082]
Oct 10 09:38:57 grisu kernel: Yenta: ISA IRQ list 00b8, PCI irq9
Oct 10 09:38:57 grisu kernel: Socket status: 30000086
Oct 10 09:38:58 grisu cardmgr[411]: watching 1 socket
Oct 10 09:38:58 grisu cardmgr[412]: starting, version is 3.2.5
Oct 10 09:39:15 grisu cardmgr[412]: socket 0: Ninja ATA
Oct 10 09:39:15 grisu kernel: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcbfff 0xdc000-0xdffff 0xe8000-0xfffff
Oct 10 09:39:15 grisu cardmgr[412]: executing: 'modprobe ide-cs'
Oct 10 09:39:15 grisu kernel: ide-cs: RequestIRQ: Unsupported mode
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You turned off CONFIG_ISA.

Signature · 4 lines
Russell King ([email protected])	http://www.arm.linux.org.uk/personal/
      Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
      maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                      2.6 Serial core
#12 lore raw

True, now I will try to compile a kernel with CONFIG_ISA=y.

Let's see...

Quoted 1 line · Thom Borton
Oct 10 09:38:57 grisu kernel: Yenta: CardBus bridge found at 

0000:00:0c.0 [104d:8082]

Quoted 6 lines
Oct 10 09:38:57 grisu kernel: Yenta: ISA IRQ list 00b8, PCI irq9
Oct 10 09:38:57 grisu kernel: Socket status: 30000086
Oct 10 09:38:58 grisu cardmgr[411]: watching 1 socket
Oct 10 09:38:58 grisu cardmgr[412]: starting, version is 3.2.5
Oct 10 09:39:15 grisu cardmgr[412]: socket 0: Ninja ATA
Oct 10 09:39:15 grisu kernel: cs: memory probe 0x0c0000-0x0fffff: 

excluding 0xc0000-0xcbfff 0xdc000-0xdffff 0xe8000-0xfffff

Quoted 2 lines
Oct 10 09:39:15 grisu cardmgr[412]: executing: 'modprobe ide-cs'
Oct 10 09:39:15 grisu kernel: ide-cs: RequestIRQ: Unsupported mode
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You turned off CONFIG_ISA.

Signature · 2 lines
Thom Borton
Switzerland