=== 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 [03:20] 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:21] yes, because I don't know why it isn't loaded [03:21] ok, I'm at the busybox prompt right now [03:22] the 90-modprobe.rules file contains the bit that you pasted into the bug [03:23] there's nothing I can think of to try I'm afraid [03:24] do you have a /sys/block/sda ? [03:25] like the rules say, when a scsi device of type 0, 7 or 14 (disks) shows up, that module will get loaded [03:25] so that suggests those devices haven't shown up until you load the module to drive them [03:25] which is broken [03:26] no, I don't have a /sys/block/sda [03:27] do you know which pci device is your scsi controller? [03:27] do you have anything in /sys/bus/scsi/devices [03:28] or /sys/class/scsi_device ? [03:28] I have /sys/bus/scsi/devices/0:0:0:0 [03:28] is that a symlink to something under devices/pci*/.../host*/target*/* ? [03:28] yeah [03:29] ok [03:29] anything in /sys/class/scsi_device [03:29] yeah, /sys/class/scsi_device/0:0:0:0/device points to the same place [03:29] ok, good [03:29] in that directory, is there a type file? if so, what's in it? [03:30] 0 [03:30] ok ... [03:30] I don't know if it is relevant, but earlier kernels we had to modprobe ide-generic to get things working [03:30] in /etc/udev/rules.d/90-modprobe.rules, what's the first line after "ACTION!=add" one [03:30] but that doesn't seem to be needed any more [03:31] there is a blank line, then a comment "# Load S/390 ccw modules ..." === mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-boot [03:31] ok [03:31] hmm [03:31] what happens if you do: [03:32] echo > /sys/class/scsi_device/0:0:0:0/device/uevent [03:32] perhaps the udev add event doesn't get fired by the kernel - so it never calls that script ? [03:33] not much happens - no more modules get loaded, still no /sys/block/sda [03:39] 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 reboot [03:48] that's just weird, [03:48] grab me another time when I'm online [03:48] it looks like the kernel isn't firing the events properly, as you say [03:51] 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] exactly [03:52] next time try echo > /sys/class/scsi_device/0:0:0:0/uevent instead [03:52] out of interest, you haven't done anything like compile things in to a kernel? it is a stock ubuntu kernel, yes? [03:53] yeah, totally stock kernel (the current -k7 variety) [03:53] just checking [03:53] doing it now (while stracing the udevd) shows that it is picking up some event - but not calling modprobe on sd_mod [03:53] I don't know if that is expected [03:54] that's kinda interesting [03:54] can you kill udevd [03:54] and run it as UDEV_LOG=info udevd --daemon [03:54] and see what it spits over the screen when you do that? [03:56] which screen will it print stuff to ? I see a small amount of stuff in /var/log/syslog but nothing particular enlightening [03:59] /dev/console, whatever that is [03:59] nothing should in /var/log/syslog if you're in the initramfs, as syslogd isn't running [03:59] (you may need to boot without the "quiet" or "splash" options) [04:00] oh right, no I'm booted into X at the moment, just stracing udev to see what happens [04:00] I'll try the UDEV_LOG thing next time I reboot [04:01] ok === Keybuk [n=scott@213-78-32-60.ppp.onetel.net.uk] has joined #ubuntu-boot