[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#353480: yaird: [hppa] /dev/sd* device nodes not created and eth0 not enabled



Package: yaird
Version: 0.0.12-3
Severity: important

After a new installation on hppa, the system seemed to boot correctly, but failed to
mount /boot and /home directories. Also the eth0 network interface was not brought
up automatically.

If I create the initrd using initramfs-tools these problems do not occur.

The reason /boot and /home are not mounted is that /dev/sd* is not present.
This seems to indicate a problem with udev, which would also explain eth0 not coming 
up as it needs to be "hotplug detected".

Full log attached. Here are some relevant pieces with comments.

[...]
SCSI device sda: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 < sda5 sda6 sda7 >
<!-- SCSI devices detected OK, so driver must be loaded -->
[...]
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...usbcore: registered new driver usbfs
<!-- udev is started, but I guess that as scsi driver and network driver are
     loaded already, it does not receive events for them and thus does not
     create device nodes in /dev, and does not "hotplug" eth0 -->
usbcore: registered new driver hub
ohci_hcd 0000:00:0e.2: OHCI Host Controller
ohci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:0e.2: irq 1, io mem 0xf4007000
usb usb1: Product: OHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.15-1-parisc-smp ohci_hcd
usb usb1: SerialNumber: 0000:00:0e.2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
udevd[862]: get_netlink_msg: unable to receive kernel netlink message: No buffer space available
<!-- not sure about this message, but the same is shown for initramfs-tools -->
Linux Tulip driver version 1.1.13 (December 15, 2004)
tulip0: no phy info, aborting mtable build
tulip0:  MII transceiver #1 config 1000 status 782d advertising 0081.
eth0: Digital DS21142/DS21143 Tulip rev 65 at 80001000, 00:10:83:CF:15:A5, IRQ 66.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NS87415: IDE controller at PCI slot 0000:00:0e.0
NS87415: chipset revision 3
NS87415: 100% native mode on irq 7
    ide0: BM-DMA at 0x0a00-0x0a07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x0a08-0x0a0f, BIOS settings: hdc:DMA, hdd:DMA
done.
Waiting for /dev to be fully populated...hda: CD-532E-B, ATAPI CD/DVD-ROM drive
<!-- Hmm. Looks like things have not really been waiting... -->
[...]
Checking all file systems.
[/sbin/fsck.ext2 (1) -- /boot] fsck.ext2 -a -C0 /dev/sda2
fsck.ext2: No such file or directory while trying to open /dev/sda2
/dev/sda2:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

[/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -a -C0 /dev/sda7
fsck.ext3: No such file or directory while trying to open /dev/sda7
/dev/sda7:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

fsck died with exit status 8
File system check failed.
A log is being saved in /var/log/fsck/checkfs if that location is writable.
Please repair the file system manually.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and resume system boot.
Give root password for maintenance
(or type Control-D to continue):
Setting kernel variables ...
.... done.
Will now mount local filesystems.
mount: special device /dev/sda2 does not exist
mount: special device /dev/sda7 does not exist
Mounting local filesystems failed with error code 32.
Will now activate swapfile swap.
Done activating swapfile swap.
<!-- So here we have the failure to mount /boot and /home -->

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: hppa (parisc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-parisc-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages yaird depends on:
ii  cpio                         2.6-10      GNU cpio -- a program to manage ar
ii  dash                         0.5.3-2     The Debian Almquist Shell
ii  libc6                        2.3.6-1     GNU C Library: Shared libraries an
ii  libhtml-template-perl        2.8-1       HTML::Template : A module for usin
ii  libparse-recdescent-perl     1.94.free-1 Generates recursive-descent parser
ii  perl                         5.8.8-2     Larry Wall's Practical Extraction 
And, because it may be relevant:
ii  udev                         0.084-5     /dev/ and hotplug management daemon

yaird recommends no packages.

-- no debconf information
Information: No console specified on kernel command line. This is normal.
PALO will choose the console currently used by firmware (serial).
Command line for kernel: 'root=/dev/sda5 HOME=/ console=ttyS0 TERM=vt102 palo_kernel=2/vmlinux'
Selected kernel: /vmlinux from partition 2
Selected ramdisk: /initrd.img-2.6.15-1-parisc-smp.yaird from partition 2
ELF32 executable
Entry 00100000 first 00100000 n 3
Segment 0 load 00100000 size 2666012 mediaptr 0x1000
Segment 1 load 0038b000 size 513884 mediaptr 0x28c000
Segment 2 load 0040c000 size 396068 mediaptr 0x30a000
Loading ramdisk 1274748 bytes @ 3feb7000...
Branching to kernel entry point 0x00100000.  If this is the last
message you see, you may need to switch your console.  This is
a common symptom -- search the FAQ and mailing list at parisc-linux.org

Linux version 2.6.15-1-parisc-smp (Debian 2.6.15-6) (fs@debian.org) (gcc version 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)) #2 SMP Fri Feb 10 23:30:34 GMT 2006
FP[0] enabled: Rev 1 Model 16
The 32-bit Kernel has started...
Initialized PDC Console for debugging.
Determining PDC firmware type: System Map.
model 00005d10 00000491 00000000 00000002 778fe5fc 100000f0 00000008 000000b2 000000b2
vers  00000300
CPUID vers 17 rev 10 (0x0000022a)
capabilities 0x3
model 9000/785/J5600
Total Memory: 2048 MB
initrd: 4feb7000-4ffee37c
initrd: reserving 3feb7000-3ffee37c (mem_max 80000000)
LCD display at f05d0008,f05d0000 registered
SMP: bootstrap CPU ID is 0
Built 1 zonelists
Kernel command line: root=/dev/sda5 HOME=/ console=ttyS0 TERM=vt102 palo_kernel=2/vmlinux
PID hash table entries: 4096 (order: 12, 65536 bytes)
Console: colour dummy device 160x64
Dentry cache hash table entries: 524288 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 262144 (order: 8, 1048576 bytes)
Memory: 2097152k available
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
Brought up 1 CPUs
checking if image is initramfs... it is
NET: Registered protocol family 16
EISA bus registered
Searching for devices...
Found devices:
1. Astro BC Runway Port at 0xfed00000 [10] { 12, 0x0, 0x582, 0x0000b }
2. Elroy PCI Bridge at 0xfed30000 [10/0] { 13, 0x0, 0x782, 0x0000a }
3. Elroy PCI Bridge at 0xfed32000 [10/1] { 13, 0x0, 0x782, 0x0000a }
4. Elroy PCI Bridge at 0xfed34000 [10/2] { 13, 0x0, 0x782, 0x0000a }
5. Elroy PCI Bridge at 0xfed38000 [10/4] { 13, 0x0, 0x782, 0x0000a }
6. Elroy PCI Bridge at 0xfed3c000 [10/6] { 13, 0x0, 0x782, 0x0000a }
7. Forte W+ 2w at 0xfffa0000 [32] { 0, 0x0, 0x5d1, 0x00004 }
8. Forte W+ 2w at 0xfffa2000 [34] { 0, 0x0, 0x5d1, 0x00004 }
9. Memory at 0xfed10200 [49] { 1, 0x0, 0x09e, 0x00009 }
Releasing cpu 1 now, hpa=fffa2000
FP[1] enabled: Rev 1 Model 16
CPU(s): 2 x PA8600 (PCX-W+) at 552.000000 MHz
Setting cache flush threshold to 700 (2 CPUs online)
SBA found Astro 2.1 at 0xfed00000
LBA version TR2.1 (0x2) found at 0xfed30000
PCI: Enabled native mode for NS87415 (pif=0x8f)
LBA version TR2.1 (0x2) found at 0xfed32000
LBA version TR2.1 (0x2) found at 0xfed34000
LBA version TR2.1 (0x2) found at 0xfed38000
LBA version TR2.1 (0x2) found at 0xfed3c000
TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)
unwind_init: start = 0x1038ca70, end = 0x103aec80, entries = 8737
audit: initializing netlink socket (disabled)
audit(1140292946.610:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
SuperIO: Found NS87560 Legacy I/O device at 0000:00:0e.1 (IRQ 68)
SuperIO: Serial port 1 at 0x3f8
SuperIO: Serial port 2 at 0x2f8
SuperIO: Parallel port at 0x378
SuperIO: Floppy controller at 0x3f0
SuperIO: ACPI at 0x7e0
SuperIO: USB regulator enabled
PDC Stable Storage facility v0.10
Soft power switch enabled, polling @ 0xf0400804.
STI GSC/PCI core graphics driver Version 0.9a
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 3) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
mice: PS/2 mouse device common for all mice
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 7, 524288 bytes)
TCP established hash table entries: 131072 (order: 9, 3145728 bytes)
TCP bind hash table entries: 65536 (order: 8, 1310720 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: Badness in smp_call_function at arch/parisc/kernel/smp.c:348
Backtrace:
 [<10115d04>] smp_call_function+0x78/0x328
 [<10106da4>] flush_data_cache+0x20/0x34
 [<10105e5c>] free_initmem+0x50/0x1c4
 [<101051e8>] init+0x5f0/0xb54
 [<1010dc5c>] ret_from_kernel_thread+0x1c/0x24

340k freed
SCSI subsystem initialized
sym0: <896> rev 0x4 at pci 0000:00:0f.0 irq 69
sym0: PA-RISC Firmware, ID 7, Fast-40, SE, parity checking
sym0: SCSI BUS has been reset.
sym0: SCSI BUS mode change from SE to SE.
scsi0 : sym-2.2.2
sym0: SCSI BUS has been reset.
sym1: <896> rev 0x4 at pci 0000:00:0f.1 irq 69
sym1: PA-RISC Firmware, ID 7, Fast-40, LVD, parity checking
sym1: SCSI BUS has been reset.
scsi1 : sym-2.2.2
  Vendor: HP        Model: 9.10GB C 80-CX03  Rev: CX03
  Type:   Direct-Access                      ANSI SCSI revision: 02
 target1:0:3: tagged command queuing enabled, command queue depth 16.
 target1:0:3: Beginning Domain Validation
 target1:0:3: asynchronous.
 target1:0:3: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 31)
 target1:0:3: Domain Validation skipping write tests
 target1:0:3: Ending Domain Validation
  Vendor: HP        Model: 9.10GB C 80-CX03  Rev: CX03
  Type:   Direct-Access                      ANSI SCSI revision: 02
 target1:0:4: tagged command queuing enabled, command queue depth 16.
 target1:0:4: Beginning Domain Validation
 target1:0:4: asynchronous.
 target1:0:4: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 31)
 target1:0:4: Domain Validation skipping write tests
 target1:0:4: Ending Domain Validation
  Vendor: QUANTUM   Model: ATLAS10K-9LVD     Rev: HP06
  Type:   Direct-Access                      ANSI SCSI revision: 03
 target1:0:5: tagged command queuing enabled, command queue depth 16.
 target1:0:5: Beginning Domain Validation
 target1:0:5: asynchronous.
 target1:0:5: FAST-40 SCSI 40.0 MB/s ST (25 ns, offset 31)
 target1:0:5: Domain Validation skipping write tests
 target1:0:5: Ending Domain Validation
SCSI device sda: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 < sda5 sda6 sda7 >
sd 1:0:3:0: Attached scsi disk sda
SCSI device sdb: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sdb: drive cache: write back
 sdb: unknown partition table
sd 1:0:4:0: Attached scsi disk sdb
SCSI device sdc: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sdc: drive cache: write back
SCSI device sdc: 17773524 512-byte hdwr sectors (9100 MB)
SCSI device sdc: drive cache: write back
 sdc: unknown partition table
sd 1:0:5:0: Attached scsi disk sdc
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Switching root ...
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...usbcore: registered new driver usbfs
usbcore: registered new driver hub
ohci_hcd 0000:00:0e.2: OHCI Host Controller
ohci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:0e.2: irq 1, io mem 0xf4007000
usb usb1: Product: OHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.15-1-parisc-smp ohci_hcd
usb usb1: SerialNumber: 0000:00:0e.2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
udevd[862]: get_netlink_msg: unable to receive kernel netlink message: No buffer space available
Linux Tulip driver version 1.1.13 (December 15, 2004)
tulip0: no phy info, aborting mtable build
tulip0:  MII transceiver #1 config 1000 status 782d advertising 0081.
eth0: Digital DS21142/DS21143 Tulip rev 65 at 80001000, 00:10:83:CF:15:A5, IRQ 66.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NS87415: IDE controller at PCI slot 0000:00:0e.0
NS87415: chipset revision 3
NS87415: 100% native mode on irq 7
    ide0: BM-DMA at 0x0a00-0x0a07, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x0a08-0x0a0f, BIOS settings: hdc:DMA, hdd:DMA
done.
Waiting for /dev to be fully populated...hda: CD-532E-B, ATAPI CD/DVD-ROM drive
ide0 at 0xf00-0xf07,0xe02 on irq 7
done.
Will now activate swap.
swapon on /dev/sda6
swapon: cannot stat /dev/sda6: No such file or directory
Swap activation failed with error code 255.
Will now check root file system.
fsck 1.39-WIP (31-Dec-2005)
[/sbin/fsck.ext3 (1) -- /dev/shm/root] fsck.ext3 -a -C0 EXT3 FS on sda5, /internal journal
dev/shm/root
/: clean, 29425/319360 files, 142871/638575 blocks
Done checking root file system.
A log will be saved in /var/log/fsck/checkroot if that location is writable.
Setting the system clock..
System Clock set. Local time: Sat Feb 18 20:03:06 UTC 2006.
Cleaning up ifupdown...done.
Calculating module dependencies...done.
Loading modules...
    ide-cd
hda: ATAPI 32X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
    ide-disk
    ide-generic
    lasi700
    lasi_82596
    zalon7xx
All modules loaded.
Setting the system clock again..
System Clock set. Local time: Sat Feb 18 20:03:09 UTC 2006.
Will now check all file systems.
fsck 1.39-WIP (31-Dec-2005)
Checking all file systems.
[/sbin/fsck.ext2 (1) -- /boot] fsck.ext2 -a -C0 /dev/sda2
fsck.ext2: No such file or directory while trying to open /dev/sda2
/dev/sda2:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

[/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -a -C0 /dev/sda7
fsck.ext3: No such file or directory while trying to open /dev/sda7
/dev/sda7:
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

fsck died with exit status 8
File system check failed.
A log is being saved in /var/log/fsck/checkfs if that location is writable.
Please repair the file system manually.
A maintenance shell will now be started.
CONTROL-D will terminate this shell and resume system boot.
Give root password for maintenance
(or type Control-D to continue):
Setting kernel variables ...
.... done.
Will now mount local filesystems.
mount: special device /dev/sda2 does not exist
mount: special device /dev/sda7 does not exist
Mounting local filesystems failed with error code 32.
Will now activate swapfile swap.
Done activating swapfile swap.
Detecting hardware...Discovered hardware for these modules: tulip sym53c8xx ad1889
Skipping already loaded module tulip.
Skipping already loaded module sym53c8xx.
Skipping unavailable/built-in ad1889 module.
Cleaning /tmp...done.
Cleaning /var/run...done.
Cleaning /var/lock...done.
Setting up networking...done.
Setting hostname to 'treebeard'...done.
Configuring network interfaces...done.
Starting portmap daemon: portmap.
Initializing random number generator...done.
Recovering nvi editor sessions... done.
INIT: Entering runlevel: 2
Starting system log daemon: syslogd.
Starting kernel log daemon: klogd.
Starting MTA: exim4.
Starting internet superserver: inetd.
Starting printer spooler: lpd .
Starting OpenBSD Secure Shell server: sshdNET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
..
Starting NFS common utilities: statd.
Starting deferred execution scheduler: atd.
Starting periodic command scheduler: cron.

Debian GNU/Linux testing/unstable treebeard ttyS0


Reply to: