/srv/irclogs.ubuntu.com/2006/02/27/#ubuntu-boot.txt

=== Keybuk [n=scott@213-78-32-60.ppp.onetel.net.uk] has joined #ubuntu-boot
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-boot
=== JanC [n=janc@lugwv/member/JanC] has joined #ubuntu-boot
=== makx [n=max@baikonur.stro.at] has joined #ubuntu-boot
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-boot
=== Keybuk [n=scott@213-78-32-60.ppp.onetel.net.uk] has joined #ubuntu-boot
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-boot
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-boot
=== crispin_ [n=crispin@cpc1-cmbg8-4-0-cust246.cmbg.cable.ntl.com] has joined #ubuntu-boot
crispin_Keybuk: I was wondering if you want any debugging info for bug 31791 (doesn't find root fs with sata_via - sd_mod not loaded)03:20
Keybukyes, because I don't know why it isn't loaded03:21
crispin_ok, I'm at the busybox prompt right now03:21
crispin_the 90-modprobe.rules file contains the bit that you pasted into the bug03:22
Keybukthere's nothing I can think of to try I'm afraid03:23
Keybukdo you have a /sys/block/sda ?03:24
Keybuklike the rules say, when a scsi device of type 0, 7 or 14 (disks) shows up, that module will get loaded03:25
Keybukso that suggests those devices haven't shown up until you load the module to drive them03:25
Keybukwhich is broken03:25
crispin_no, I don't have a /sys/block/sda03:26
Keybukdo you know which pci device is your scsi controller?03:27
Keybukdo you have anything in /sys/bus/scsi/devices03:27
Keybukor /sys/class/scsi_device ?03:28
crispin_I have /sys/bus/scsi/devices/0:0:0:003:28
Keybukis that a symlink to something under devices/pci*/.../host*/target*/* ?03:28
crispin_yeah03:28
Keybukok03:29
Keybukanything in /sys/class/scsi_device03:29
crispin_yeah, /sys/class/scsi_device/0:0:0:0/device points to the same place03:29
Keybukok, good03:29
Keybukin that directory, is there a type file?  if so, what's in it?03:29
crispin_003:30
Keybukok ...03:30
crispin_I don't know if it is relevant, but earlier kernels we had to modprobe ide-generic to get things working03:30
Keybukin /etc/udev/rules.d/90-modprobe.rules, what's the first line after "ACTION!=add" one03:30
crispin_but that doesn't seem to be needed any more03:30
crispin_there is a blank line, then a comment "# Load S/390 ccw modules ..."03:31
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-boot
Keybukok03:31
Keybukhmm03:31
Keybukwhat happens if you do:03:31
Keybukecho > /sys/class/scsi_device/0:0:0:0/device/uevent03:32
crispin_perhaps the udev add event doesn't get fired by the kernel - so it never calls that script ?03:32
crispin_not much happens - no more modules get loaded, still no /sys/block/sda03:33
crispin_Keybuk: hmm, I'll have to get the thing booting now - if you think of anything else to try let me know and I'll test next time I reboot03:39
Keybukthat's just weird,03:48
Keybukgrab me another time when I'm online03:48
Keybukit looks like the kernel isn't firing the events properly, as you say03:48
crispin_am I right in thinking that when I did the "echo > .../uevent"  it should have caused the kernel to fire the event and the udevd should have picked it up, run the rules and loaded the sd_mod ?03:51
Keybukexactly03:51
Keybuknext time try echo > /sys/class/scsi_device/0:0:0:0/uevent instead03:52
Keybukout of interest, you haven't done anything like compile things in to a kernel?  it is a stock ubuntu kernel, yes?03:52
crispin_yeah, totally stock kernel (the current -k7 variety)03:53
Keybukjust checking03:53
crispin_doing it now (while stracing the udevd) shows that it is picking up some event - but not calling modprobe on sd_mod03:53
crispin_I don't know if that is expected03:53
Keybukthat's kinda interesting03:54
Keybukcan you kill udevd03:54
Keybukand run it as UDEV_LOG=info udevd --daemon03:54
Keybukand see what it spits over the screen when you do that?03:54
crispin_which screen will it print stuff to ? I see a small amount of stuff in /var/log/syslog but nothing particular enlightening03:56
Keybuk/dev/console, whatever that is03:59
Keybuknothing should in /var/log/syslog if you're in the initramfs, as syslogd isn't running03:59
Keybuk(you may need to boot without the "quiet" or "splash" options)03:59
crispin_oh right, no I'm booted into X at the moment, just stracing udev to see what happens04:00
crispin_I'll try the UDEV_LOG thing next time I reboot04:00
Keybukok04:01
=== Keybuk [n=scott@213-78-32-60.ppp.onetel.net.uk] has joined #ubuntu-boot

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!