* revert request "ide: skip probe if there are no devices on the port (v2)"
@ 2010-03-28 21:27 David Fries
2010-03-28 21:37 ` Bartlomiej Zolnierkiewicz
2010-03-29 1:59 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: David Fries @ 2010-03-28 21:27 UTC (permalink / raw)
To: David Miller; +Cc: bzolnier, linux-kernel, linux-ide
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 <bzolnier@gmail.com>
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.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-------------------------------
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 just
c06d4b0528aa9e515ae9c4a54f47dbca147a429a
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-0xe40f
hda: 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 15
ide_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-0xe40f
hda: 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 15
ide_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)
--
David Fries <david@fries.net>
http://fries.net/~david/ (PGP encryption key available)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: revert request "ide: skip probe if there are no devices on the port (v2)"
2010-03-28 21:27 revert request "ide: skip probe if there are no devices on the port (v2)" David Fries
@ 2010-03-28 21:37 ` Bartlomiej Zolnierkiewicz
2010-03-29 1:59 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2010-03-28 21:37 UTC (permalink / raw)
To: David Fries; +Cc: David Miller, linux-kernel, linux-ide
On Sunday 28 March 2010 11:27:28 pm David Fries wrote:
> 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 <bzolnier@gmail.com>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: revert request "ide: skip probe if there are no devices on the port (v2)"
2010-03-28 21:27 revert request "ide: skip probe if there are no devices on the port (v2)" David Fries
2010-03-28 21:37 ` Bartlomiej Zolnierkiewicz
@ 2010-03-29 1:59 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2010-03-29 1:59 UTC (permalink / raw)
To: david; +Cc: bzolnier, linux-kernel, linux-ide
From: David Fries <david@fries.net>
Date: Sun, 28 Mar 2010 16:27:28 -0500
> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-29 1:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-28 21:27 revert request "ide: skip probe if there are no devices on the port (v2)" David Fries
2010-03-28 21:37 ` Bartlomiej Zolnierkiewicz
2010-03-29 1:59 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).