View previous topic :: View next topic |
Author |
Message |
dojo n00b
Joined: 11 Dec 2006 Posts: 26 Location: Germany, 26723 Emden
|
Posted: Sat Jan 26, 2008 7:23 pm Post subject: [solved] gentoo-sources-2.6.24 and /dev/hdc (DVD-RW) problem |
|
|
Hi,
after I upgrade from 2.6.23-r6 to 2.6.24, my DVD-RW drive an /dev/hdc doesn't work any more. It's the same kernel config than the one for 2.6.23-r6.
I don't know, what I have to change in the config, that the drive works well under the new kernel.
This is from Messages for 2.6.23-r6:
Code: | Jan 26 22:03:05 dojo Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Jan 26 22:03:05 dojo ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jan 26 22:03:05 dojo NFORCE3-250: IDE controller at PCI slot 0000:00:08.0
Jan 26 22:03:05 dojo NFORCE3-250: chipset revision 162
Jan 26 22:03:05 dojo NFORCE3-250: not 100% native mode: will probe irqs later
Jan 26 22:03:05 dojo NFORCE3-250: 0000:00:08.0 (rev a2) UDMA133 controller
Jan 26 22:03:05 dojo ide0: BM-DMA at 0xf900-0xf907, BIOS settings: hda:DMA, hdb:DMA
Jan 26 22:03:05 dojo ide1: BM-DMA at 0xf908-0xf90f, BIOS settings: hdc:DMA, hdd:DMA
Jan 26 22:03:05 dojo Probing IDE interface ide0...
Jan 26 22:03:05 dojo Probing IDE interface ide1...
Jan 26 22:03:05 dojo hdc: BENQ DVD LS DW1655, ATAPI CD/DVD-ROM drive
Jan 26 22:03:05 dojo hdc: selected mode 0x42
Jan 26 22:03:05 dojo ide1 at 0x170-0x177,0x376 on irq 15
Jan 26 22:03:05 dojo pnp: the driver 'ide' has been registered
Jan 26 22:03:05 dojo Probing IDE interface ide0...
Jan 26 22:03:05 dojo hdc: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Jan 26 22:03:05 dojo Uniform CD-ROM driver Revision: 3.20
|
and this for 2.6.24:
Code: | Jan 26 20:20:05 dojo Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
Jan 26 20:20:05 dojo ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Jan 26 20:20:05 dojo NFORCE3-250: IDE controller (0x10de:0x00e5 rev 0xa2) at PCI slot 0000:00:08.0
Jan 26 20:20:05 dojo NFORCE3-250: not 100% native mode: will probe irqs later
Jan 26 20:20:05 dojo NFORCE3-250: 0000:00:08.0 (rev a2) UDMA133 controller
Jan 26 20:20:05 dojo ide0: BM-DMA at 0xf900-0xf907, BIOS settings: hda:DMA, hdb:DMA
Jan 26 20:20:05 dojo ide1: BM-DMA at 0xf908-0xf90f, BIOS settings: hdc:DMA, hdd:DMA
Jan 26 20:20:05 dojo Probing IDE interface ide0...
Jan 26 20:20:05 dojo Probing IDE interface ide1...
Jan 26 20:20:05 dojo hdc: BENQ DVD LS DW1655, ATAPI CD/DVD-ROM drive
Jan 26 20:20:05 dojo hdc: host max PIO5 wanted PIO255(auto-tune) selected PIO4
Jan 26 20:20:05 dojo hdc: UDMA/33 mode selected
Jan 26 20:20:05 dojo ide1 at 0x170-0x177,0x376 on irq 15
Jan 26 20:20:05 dojo hdc: task_in_intr: status=0x51 { DriveReady SeekComplete Error }
Jan 26 20:20:05 dojo hdc: task_in_intr: error=0x04 { AbortedCommand }
Jan 26 20:20:05 dojo ide: failed opcode was: 0xa1
Jan 26 20:20:05 dojo Probing IDE interface ide0...
Jan 26 20:20:05 dojo hdc: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
Jan 26 20:20:05 dojo hdc: status error: error=0x00 { }
Jan 26 20:20:05 dojo ide: failed opcode was: unknown
Jan 26 20:20:05 dojo hdc: drive not ready for command
Jan 26 20:20:05 dojo hdc: ATAPI CD-ROM drive, 0kB Cache
Jan 26 20:20:05 dojo Uniform CD-ROM driver Revision: 3.20
Jan 26 20:20:05 dojo hdc: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
Jan 26 20:20:05 dojo hdc: status error: error=0x00 { }
Jan 26 20:20:05 dojo ide: failed opcode was: unknown
|
Anyone know how to fix this?
Thanks in advance!
Last edited by dojo on Sun Jan 27, 2008 12:27 am; edited 1 time in total |
|
Back to top |
|
|
edmondo Tux's lil' helper
Joined: 22 May 2004 Posts: 110
|
Posted: Sat Jan 26, 2008 8:25 pm Post subject: |
|
|
Yeah, I had the same problem here.
I workarounded the problem by using the libata PATA layer driver instead of the "old" IDE ATAPI driver.
Here just an edited extract of my .config for 2.6.26:
Code: |
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_SCSI_WAIT_SCAN=m
#
# SCSI Transports
#
CONFIG_ATA=y
CONFIG_ATA_ACPI=y
CONFIG_PATA_AMD=y
|
Before booting remember to change your /etc/fstab and /boot/grub/menu.lst to the new sd devices.
For me it was:
1. chage hda to sda for all devices in /etc/fstab
2. change /dev/hda5 to /dev/sda5 in /boot/grub/menu.lst
After booting udev gave me /dev/cdrom1 instead of /dev/cdrom. |
|
Back to top |
|
|
8086 n00b
Joined: 12 Dec 2007 Posts: 52
|
Posted: Sat Jan 26, 2008 8:37 pm Post subject: |
|
|
You don't just use the same configuration when upgrading between "major" kernel versions. At best, you base your new configuration on the old one. |
|
Back to top |
|
|
edmondo Tux's lil' helper
Joined: 22 May 2004 Posts: 110
|
Posted: Sat Jan 26, 2008 10:15 pm Post subject: |
|
|
I alway base the new config on the old one. Always
make oldconfig and check the new options, but this time I had a problem. It's the first time since many years.
My first "solution" is the workaround with libata.
But as next I will try to bisect the problem and if I find something, open an bug in lkml. |
|
Back to top |
|
|
dojo n00b
Joined: 11 Dec 2006 Posts: 26 Location: Germany, 26723 Emden
|
Posted: Sun Jan 27, 2008 12:27 am Post subject: |
|
|
edmondo wrote: | Yeah, I had the same problem here.
I workarounded the problem by using the libata PATA layer driver instead of the "old" IDE ATAPI driver.
|
Thanks, this was the solution. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|