revert request "ide: skip probe if there are no devices on the port (v2)"
Now that I have 2.6.34-rc2 booting it no longer detects the cdrom drive. That is looking at the kernel messages, partition dump, and after booting hdparm etc does not find the drive. I expect it is because the cdrom is a slave drive without a master on that ribbon. Reverting
-------------------------------
commit a20b2a44eca52818ef52a94959480b7e6ea2f528
Author: Bartlomiej Zolnierkiewicz <[email protected]> Date: Mon Jun 8 22:07:28 2009 +0200
ide: skip probe if there are no devices on the port (v2)
In ide_probe_port() skip probe if ide_port_wait_ready() returns -ENODEV and print error message instead of debug one if it returns -EBUSY.
v2:
Fix the default 'rc' value.
-------------------------------
fixes the problem. That branch
'for-2.6.31' of git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
was merged at d614aec4752f8c61b2e7cb77806b6bd59aa50836
boot output, no hdd mentioned
Again I'm giving it a bad root partition so it dumps the partition table at the end of the messages and I can hibernate and resume my other kernel.
on 220bf991b0366cc50a94feede3d7341fa5710ee4 Linux 2.6.34-rc2 reverting justc06d4b0528aa9e515ae9c4a54f47dbca147a429a
via82cxxx: workaround h/w bugs
Uniform Multi-Platform E-IDE driver
via82cxxx 0000:00:07.1: VIA vt82c586b (rev 41) IDE UDMA33 via82cxxx 0000:00:07.1: IDE controller (0x1106:0x0571 rev 0x06) via82cxxx 0000:00:07.1: not 100% native mode: will probe irqs later
ide: disallowing DMA for hda
ide: disallowing DMA for hdb
ide0: BM-DMA at 0xe400-0xe407
ide: disallowing DMA for hdc
ide: disallowing DMA for hdd
ide1: BM-DMA at 0xe408-0xe40fhda: Maxtor 6Y120P0, ATA DISK drive
ide1: no devices on the port
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports ide-gd driver 1.18
hda: max request size: 128KiB
hda: Host Protected Area detected.
current capacity is 66055248 sectors (33820 MB)
native capacity is 240121728 sectors (122942 MB)hda: 66055248 sectors (33820 MB) w/7936KiB Cache, CHS=65531/16/63
hda: cache flushes supported
hda: hda1 hda2 hda3
hda: p3 size 236037312 exceeds device capacity, enabling native capacity
hda: detected capacity change from 33820286976 to 122942324736 ide-cd driver 5.00
...
VFS: Cannot open root device "1602" or unknown-block(22,2)
Please append a correct "root=" boot option; here are the available partitions:
0300 120060864 hda driver: ide-gd
0301 49391 hda1
0302 1992816 hda2
0303 118018656 hda3
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(22,2)
hdd found and model read with the addition of reverting a20b2a44eca52818ef52a94959480b7e6ea2f528
ide: skip probe if there are no devices on the port (v2)
Uniform Multi-Platform E-IDE driver
via82cxxx 0000:00:07.1: VIA vt82c586b (rev 41) IDE UDMA33 via82cxxx 0000:00:07.1: IDE controller (0x1106:0x0571 rev 0x06) via82cxxx 0000:00:07.1: not 100% native mode: will probe irqs later
ide: disallowing DMA for hda
ide: disallowing DMA for hdb
ide0: BM-DMA at 0xe400-0xe407
ide: disallowing DMA for hdc
ide: disallowing DMA for hdd
ide1: BM-DMA at 0xe408-0xe40fhda: Maxtor 6Y120P0, ATA DISK drive
hdd: PLEXTOR CD-R PX-W4012A, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports ide-gd driver 1.18
hda: max request size: 128KiB
hda: Host Protected Area detected.
current capacity is 66055248 sectors (33820 MB)
native capacity is 240121728 sectors (122942 MB)hda: 66055248 sectors (33820 MB) w/7936KiB Cache, CHS=65531/16/63
hda: cache flushes supported
hda: hda1 hda2 hda3
hda: p3 size 236037312 exceeds device capacity, enabling native capacity
hda: detected capacity change from 33820286976 to 122942324736 ide-cd driver 5.00
ide-cd: hdd: ATAPI 40X CD-ROM CD-R/RW drive, 4096kB Cache
Uniform CD-ROM driver Revision: 3.20
...
VFS: Cannot open root device "1602" or unknown-block(22,2)
Please append a correct "root=" boot option; here are the available partitions:
0300 120060864 hda driver: ide-gd
0301 49391 hda1
0302 1992816 hda2
0303 118018656 hda3
1640 4194302 hdd driver: ide-cdrom
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(22,2)
Signature · 2 lines
David Fries <[email protected]> http://fries.net/~david/ (PGP encryption key available)
Quoted 9 lines · David Fries
Now that I have 2.6.34-rc2 booting it no longer detects the cdrom drive. That is looking at the kernel messages, partition dump, and after booting hdparm etc does not find the drive. I expect it is because the cdrom is a slave drive without a master on that ribbon. Reverting
-------------------------------
commita20b2a44eca52818ef52a94959480b7e6ea2f528Author: Bartlomiej Zolnierkiewicz <[email protected]> Date: Mon Jun 8 22:07:28 2009 +0200
It was reported to upstream maintainer on 2009-10-18.
https://bugzilla.kernel.org/show_bug.cgi?id=14438
PS Please do not cc: me on upstream kernel problems, I don't have any time to work on them (maintainer change happened on Jun 21 2009)..
--
Bartlomiej Zolnierkiewicz
From: David Fries <[email protected]>
Date: Sun, 28 Mar 2010 16:27:28 -0500
Quoted 5 lines
Now that I have 2.6.34-rc2 booting it no longer detects the cdrom drive. That is looking at the kernel messages, partition dump, and after booting hdparm etc does not find the drive. I expect it is because the cdrom is a slave drive without a master on that ribbon. Reverting
Reverted, thanks for the report David.