Bug#391247: udev: CD doesn't work without touching hdc

2009-03-03 Thread Michael Prokop
* Adam C Powell IV hazel...@debian.org [20090303 12:59]:
 On Wed, 2008-07-09 at 23:49 +0200, Marco d'Itri wrote:
  Are there any news about this? Can you still reproduce this bug?

 Sorry about the delay.  I left the laptop affected by this bug at a
 friend's place about a month ago, but will retrieve it, upgrade and test
 ASAP.

Any news from your side, Adam?

regards,
-mika-


signature.asc
Description: Digital signature


Bug#391247: udev: CD doesn't work without touching hdc

2008-07-15 Thread Adam C Powell IV
On Wed, 2008-07-09 at 23:49 +0200, Marco d'Itri wrote:
 Are there any news about this? Can you still reproduce this bug?

Sorry about the delay.  I left the laptop affected by this bug at a
friend's place about a month ago, but will retrieve it, upgrade and test
ASAP.

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools
http://www.opennovation.com/


signature.asc
Description: This is a digitally signed message part


Bug#391247: udev: CD doesn't work without touching hdc

2008-07-09 Thread Marco d'Itri
Are there any news about this? Can you still reproduce this bug?

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#391247: udev: CD doesn't work without touching hdc

2006-10-17 Thread Marco d'Itri
On Oct 15, Adam C Powell IV [EMAIL PROTECTED] wrote:

 The hdc entry and its cdrom, dvd and cdrw symlinks show up.  But nothing
 in the LOG.
Hard to believe.
What happens if you run udevtrigger instead?
Is ide-cd loaded?

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#391247: udev: CD doesn't work without touching hdc

2006-10-17 Thread Adam C Powell IV
On Tue, 2006-10-17 at 14:53 +0200, Marco d'Itri wrote:
 On Oct 15, Adam C Powell IV [EMAIL PROTECTED] wrote:
 
  The hdc entry and its cdrom, dvd and cdrw symlinks show up.  But nothing
  in the LOG.
 Hard to believe.

Very strange.  When I redirect to LOG, there's nothing there.  When I
just run udevmonitor and then do other stuff in another VT, I can see
the output just fine, and copy and paste it using gpm.  When adding the
disk using echo add ... I get the attached output.

 What happens if you run udevtrigger instead?
 Is ide-cd loaded?

Yes.  Voluminuos output, ide-cd is loaded, and hdc and its links appear
in /dev.

[So why isn't ide-cd loaded, and hdc appearing, at boot time??]

Thanks,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html
udevmonitor prints the received event from the kernel [UEVENT]
and the event which udev sends out after rule processing [UDEV]

UEVENT[1161136867.413185] add@/devices/pci:00/:00:0f.0/ide1/1.0
UDEV  [1161136867.413185] add@/devices/pci:00/:00:0f.0/ide1/1.0
UEVENT[1161136867.413587] add@/module/ide_cd
UDEV  [1161136867.413587] add@/module/ide_cd
UEVENT[1161136867.419929] add@/bus/ide/drivers/ide-cdrom
UDEV  [1161136867.419929] add@/bus/ide/drivers/ide-cdrom
UEVENT[1161136867.479163] add@/block/hdc
UDEV  [1161136867.585753] add@/block/hdc


Bug#391247: udev: CD doesn't work without touching hdc

2006-10-14 Thread Adam C Powell IV
On Fri, 2006-10-13 at 16:00 +0200, Marco d'Itri wrote:
 On Oct 13, Adam C Powell IV [EMAIL PROTECTED] wrote:
 
   Is there any other breakage I should look for on the system?
 You reported that ide-cd is not being loaded.
 Please confirm that you are using a 2.6.18 kernel.

I was using 2.6.17, just upgraded to 2.6.18 this morning.

 Then report the output of this command:
 
 grep cdrom /lib/modules/$(uname -r)/modules.alias

On both:
alias ide:*m-cdrom* ide_cd

 Then, if the above command reported some output, try:
 rmmod ide-cd
 udevmonitor --env  LOG 
 echo add  $(find /sys | grep ide1/1.0/uevent)
 
 and attach the log file. (Hopefully the last command will find the
 uevent file for your CD unit and only that.)

Yup, on both kernels the find returns:
/sys/devices/pci:00/:00:0f.0/ide1/1.0/uevent

LOG remains empty, on both kernels, but with console output (2.6.18):
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20

The hdc entry and its cdrom, dvd and cdrw symlinks show up.  But nothing
in the LOG.

Thanks again,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#391247: udev: CD doesn't work without touching hdc

2006-10-13 Thread Marco d'Itri
On Oct 13, Adam C Powell IV [EMAIL PROTECTED] wrote:

 Nope.  /etc/modprobe.conf did exist, but removing that didn't change
 anything.
Except fixing almost complete breakage of module-init-tools.

 I do not have ide-scsi loaded.
And you do not need to.

  Is there any other breakage I should look for on the system?
You reported that ide-cd is not being loaded.
Please confirm that you are using a 2.6.18 kernel.
Then report the output of this command:

grep cdrom /lib/modules/$(uname -r)/modules.alias

Then, if the above command reported some output, try:
rmmod ide-cd
udevmonitor --env  LOG 
echo add  $(find /sys | grep ide1/1.0/uevent)

and attach the log file. (Hopefully the last command will find the
uevent file for your CD unit and only that.)

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#391247: udev: CD doesn't work without touching hdc

2006-10-12 Thread Adam C Powell IV
reopen 391247
thanks

On Fri, 2006-10-06 at 10:43 +0200, Marco d'Itri wrote:
 On Oct 06, Adam C Powell IV [EMAIL PROTECTED] wrote:
 
  On Thu, 2006-10-05 at 19:43 +0200, Marco d'Itri wrote:
   Does modprobe ide-cd fix your problem?
  
  Yes, it does, thanks for the workaround.
  
  How can I help with the fix?
 Your system is broken for some reason.
 Check that /etc/udev/rules.d/z55_hotplug.rules exists,
 /etc/modprobe.conf does not exist, etc.

Nope.  /etc/modprobe.conf did exist, but removing that didn't change
anything.  z55_hotplug.rules was already there.  I still need to
cat /dev/.static/dev/hdc to make the kernel recognize the drive and
create /dev/hdc.  Even apt-get install --reinstall udev doesn't fix
this.  (To clarify: the kernel recognizes the drive during boot, but
udev does not when starting up.)

I do not have ide-scsi loaded.  Is there any other breakage I should
look for on the system?  Is there a webpage which describes
troubleshooting udev?

Thanks,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#391247: udev: CD doesn't work without touching hdc

2006-10-05 Thread Adam C Powell IV
Package: udev
Version: 0.100-2
Severity: important

Greetings,

On two different machines with CD at hdc, udev does not present either
hdc nor the cdrom symlink.  But if I cat /dev/.static/dev/hdc (which
gives an I/O error) then both of them show up.  They disappear again
after the next boot, until I touch /dev/.static/dev/hdc.  In both cases,
the device is detected properly during boot and shows up as hdc in boot
messages.

This is with kernel 2.6.18-1-686, one machine is a Fujitsu laptop with
swappable IDE CDRW/DVD or battery, the other is a VIA EPIA-based machine
with 1 GHz Ezra core and also a laptop-style IDE CDRW/DVD.

I think this is different from 287225 because there is no hdc at boot at
all (that bug had hdc but no cdrom link), and both hdc and cdrom appear
when tickled as described above.  I've been seeing this 2.6.15, don't
know which udev version.

Thanks,
-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#391247: udev: CD doesn't work without touching hdc

2006-10-05 Thread Marco d'Itri
Does modprobe ide-cd fix your problem?

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#391247: udev: CD doesn't work without touching hdc

2006-10-05 Thread Adam C Powell IV
On Thu, 2006-10-05 at 19:43 +0200, Marco d'Itri wrote:
 Does modprobe ide-cd fix your problem?

Yes, it does, thanks for the workaround.

How can I help with the fix?

-Adam
-- 
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
http://www.take6.com/albums/greatesthits.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]