[Yaird-devel] Bug#353480: [parisc-linux] Re: Bug#353480: yaird: [hppa] /dev/sd* device nodes not created and eth0 not enabled

Joel Soete soete.joel at tiscali.be
Tue Feb 21 17:00:43 UTC 2006


> > On Sat, Feb 18, 2006 at 10:02:28PM +0100, Frans Pop wrote:
> > > 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 --
> > 
> > This is the reason you aren't getting /dev/sd* nodes. I debugged
> > this yesterday, needs new udev upload, more details here:
> > http://marc.theaimsgroup.com/?l=linux-hotplug-devel&m=114019842906313&w=2
> > 
> hihi, as I have to rebuild the pkg is also discover:
> udev_libc_wrapper.h:69:2: warning: #warning "inotify unsupported on this
> architecture!"
> 
> this warning is obviously false and, imho, could be esaly fixed by:
> --- udev-084/udev_libc_wrapper.h.Orig   2006-02-21 10:58:11.000000000 +0100
> +++ udev-084/udev_libc_wrapper.h        2006-02-21 10:56:25.000000000 +0100
> @@ -65,6 +65,10 @@
>  # define __NR_inotify_init     290
>  # define __NR_inotify_add_watch        291
>  # define __NR_inotify_rm_watch 292
> +#elif defined (__hppa__)
> +# define __NR_inotify_init     269
> +# define __NR_inotify_add_watch        270
> +# define __NR_inotify_rm_watch 271
>  #else
>  #warning "inotify unsupported on this architecture!"
>  #endif
> ====<>====
> 
Just a small update to confirm that works fine:
INIT: version 2.86 booting
Starting the hotplug events dispatcher: udevd.
Synthesizing the initial hotplug events...done.
Waiting for /dev to be fully populated...
done (timeout). 


Will now activate swap.
swapon on /dev/md/1
[42949610.960000] Adding 385976k swap on /dev/md/1.  Priority:-1 extents:1
across:385976k
Done activating swap.
Will now check root file system.
fsck 1.39-WIP (31-Dec-2005)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/md2
/dev/md2: clean, 85433/256000 files, 326381/511968 blocks
Done checking root file system.
A log will be saved in /var/log/fsck/checkroot if that location is writable.
[42949612.400000] EXT3 FS on md2, internal journal
Setting the system clock..
System Clock set. Local time: Tue Feb 21 16:39:08 UTC 2006.
Cleaning up ifupdown...done.
Not running depmod because /lib/modules/2.6.16-rc4-pa1-d32mp/ is not writeable.
Loading modules...
All modules loaded.
FATAL: Could not load /lib/modules/2.6.16-rc4-pa1-d32mp/modules.dep: No such
file or directory
Setting the system clock again..
System Clock set. Local time: Tue Feb 21 16:39:11 UTC 2006.
Loading device-mapper support.
Starting raid devices: [42949640.190000] md: md4 stopped.
mdadm: cannot open device /dev/sdc2: Device or resource busy
mdadm: /dev/sdc2 has no superblock - assembly aborted
[42949641.380000] md: md4 stopped.
mdadm: cannot open device /dev/sdc3: Device or resource busy
mdadm: /dev/sdc3 has no superblock - assembly aborted
[42949642.390000] md: md4 stopped.
mdadm: cannot open device /dev/sdc5: Device or resource busy
mdadm: /dev/sdc5 has no superblock - assembly aborted
[42949643.380000] md: md4 stopped.
mdadm: cannot open device /dev/sdc6: Device or resource busy
mdadm: /dev/sdc6 has no superblock - assembly aborted
[42949644.280000] md: md4 stopped.
[42949644.340000] md: bind<sdg>
[42949644.380000] md: bind<sdh>
[42949644.420000] md: bind<sdi>
[42949644.460000] md: bind<sdj>
[42949644.490000] md: bind<sdk>
[42949644.520000] md: bind<sdf>
[42949644.560000] raid5: device sdf operational as raid disk 0
[42949644.620000] raid5: device sdk operational as raid disk 5
[42949644.690000] raid5: device sdj operational as raid disk 4
[42949644.760000] raid5: device sdi operational as raid disk 3
[42949644.820000] raid5: device sdh operational as raid disk 2
[42949644.890000] raid5: device sdg operational as raid disk 1
[42949644.960000] raid5: allocated 6279kB for md4
[42949645.020000] raid5: raid level 5 set md4 active with 6 out of 6 devices,
algorithm 2
[42949645.110000] RAID5 conf printout:
[42949645.150000]  --- rd:6 wd:6 fd:0
[42949645.190000]  disk 0, o:1, dev:sdf
[42949645.240000]  disk 1, o:1, dev:sdg
[42949645.280000]  disk 2, o:1, dev:sdh
[42949645.320000]  disk 3, o:1, dev:sdi
[42949645.360000]  disk 4, o:1, dev:sdj
[42949645.410000]  disk 5, o:1, dev:sdk
mdadm: /dev/md/4 has been started with 6 drives.
done.
Setting up LVM Volume Groups...
  Reading all physical volumes.  This may take a while...
  Failed to read VG data from PV (/dev/sdb1)
  Failed to read VG data from PV (/dev/sdb1)
  Failed to read VG data from PV (/dev/sdb1)
  Failed to read VG data from PV (/dev/sdb1)
  Volume group "root_vg" not found
  Found volume group "vg_raid5" using metadata type lvm2
  Found volume group "vg00" using metadata type lvm2
  Failed to read VG data from PV (/dev/sdb1)
  Failed to read VG data from PV (/dev/sdb1)
  Failed to read VG data from PV (/dev/sdb1)
  Failed to read VG data from PV (/dev/sdb1)
  Unable to find volume group "root_vg"
  3 logical volume(s) in volume group "vg_raid5" now active
  4 logical volume(s) in volume group "vg00" now active
Will now check all file systems.
fsck 1.39-WIP (31-Dec-2005)
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -a -C0 /dev/md/0
/dev/md/0: clean, 104/32256 files, 104630/128960 blocks
[/sbin/fsck.ext3 (1) -- /var] fsck.ext3 -a -C0 /dev/vg00/lv_var
/dev/vg00/lv_var: clean, 4628/131072 files, 166656/524288 blocks
[/sbin/fsck.ext3 (1) -- /tmp] fsck.ext3 -a -C0 /dev/vg00/lv_tmp
/dev/vg00/lv_tmp: clean, 15/32768 files, 8271/131072 blocks
[/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -a -C0 /dev/vg00/lv_home
/dev/vg00/lv_home: clean, 359/32768 files, 18318/131072 blocks
[/sbin/fsck.ext3 (1) -- /usr/src] fsck.ext3 -a -C0 /dev/vg00/lv_src
/dev/vg00/lv_src: clean, 74709/262144 files, 380840/524288 blocks
[/sbin/fsck.ext3 (1) -- /Develop] fsck.ext3 -a -C0 /dev/vg_raid5/lv_develop
/dev/vg_raid5/lv_develop has been mounted 31 times without being checked,
check forced.
./dev/vg_raid5/lv_develop: 21726/262144 files (1.1% non-contiguous),
288084/524288 blocks
[/sbin/fsck.ext3 (1) -- /DebApt] fsck.ext3 -a -C0 /dev/vg_raid5/lv_debapt
/dev/vg_raid5/lv_debapt: clean, 490/262144 files, 114611/524288 blocks
[/sbin/fsck.ext3 (1) -- /Sources] fsck.ext3 -a -C0 /dev/vg_raid5/lv_sources
/dev/vg_raid5/lv_sources: clean, 11/262144 files, 24643/524288 blocks
Done checking file systems.
A log is being saved in /var/log/fsck/checkfs if that location is writable.
Loading the saved-state of the serial devices from /etc/serial.conf
Setting kernel variables ...
... done.
Will now mount local filesystems.
[   17.070000] kjournald starting.  Commit interval 5 seconds
[   17.160000] EXT3 FS on md0, internal journal
[   17.210000] EXT3-fs: mounted filesystem with ordered data mode.
/dev.Orig/md/0 on /boot type ext3 (rw)
[   17.360000] kjournald starting.  Commit interval 5 seconds
[   17.460000] EXT3 FS on dm-3, internal journal
[   17.510000] EXT3-fs: mounted filesystem with ordered data mode.
/dev/vg00/lv_var on /var type ext3 (rw)
[   17.660000] kjournald starting.  Commit interval 5 seconds
[   17.760000] EXT3 FS on dm-4, internal journal
[   17.810000] EXT3-fs: mounted filesystem with ordered data mode.
/dev/vg00/lv_tmp on /tmp type ext3 (rw)
[   17.960000] kjournald starting.  Commit interval 5 seconds
[   18.070000] EXT3 FS on dm-5, internal journal
[   18.130000] EXT3-fs: mounted filesystem with ordered data mode.
/dev/vg00/lv_home on /home type ext3 (rw)
[   18.280000] kjournald starting.  Commit interval 5 seconds
[   18.410000] EXT3 FS on dm-6, internal journal
[   18.470000] EXT3-fs: mounted filesystem with ordered data mode.
[   18.560000] kjournald starting.  Commit interval 5 seconds
/dev/vg00/lv_src on /usr/src type ext3 (rw)
[   18.690000] EXT3 FS on dm-0, internal journal
[   18.740000] EXT3-fs: mounted filesystem with ordered data mode.
/dev/vg_raid5/lv_develop on /Develop type ext3 (rw,errors=continue)
[   18.820000] kjournald starting.  Commit interval 5 seconds
[   19.000000] EXT3 FS on dm-2, internal journal
[   19.060000] EXT3-fs: mounted filesystem with ordered data mode.
[   19.140000] kjournald starting.  Commit interval 5 seconds
/dev/vg_raid5/lv_debapt on /DebApt type ext3 (rw,errors=continue)
[   19.250000] EXT3 FS on dm-1, internal journal
[   19.250000] EXT3-fs: mounted filesystem with ordered data mode.
/dev/vg_raid5/lv_sources on /Sources type ext3 (rw,errors=continue)
Done mounting local filesystems.
Will now activate swapfile swap.
swapon on /dev/md/1
swapon: /dev/md/1: Device or resource busy
Done activating swapfile swap.
<snip>

(btw just have to check why is it activating swap 2 times?)

Hth,
    Joel

PS: here is a top picture while rebuilding the kernel with option -j2 (it's a
2-way machine)
top - 18:11:39 up 36 min,  2 users,  load average: 2.26, 2.30, 1.97
Tasks:  81 total,   3 running,  78 sleeping,   0 stopped,   0 zombie
Cpu0  : 79.8% us, 17.4% sy,  0.0% ni,  2.8% id,  0.0% wa,  0.0% hi,  0.0% si
Cpu1  : 22.9% us, 75.2% sy,  0.0% ni,  0.9% id,  0.9% wa,  0.0% hi,  0.0% si
Mem:    252268k total,   224672k used,    27596k free,    46800k buffers
Swap:   385976k total,      176k used,   385800k free,    47476k cached
Change delay from 1.0 to: 
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  P WCHAN    
COMMAND                                                   
 8004 root      25   0  7956 4124 1932 R   86  1.6   0:01.18 0 read      cc1 
                                                      
 8010 root      25   0  6788 2860 1892 R   26  1.1   0:00.28 1 intr_chec cc1 
                                                      
 8008 root      25   0  2932 1336 1056 S   11  0.5   0:00.12 1 wait      sh  
                                                      
 8011 root      18   0  4064 2316  784 S   11  0.9   0:00.12 0 pipe_wait as  
                                                      
 5116 root      16   0  2960 1336 1024 R    8  0.5   1:40.59 1 vfs_read  top 
                                                      
 8009 root      25   0  1832  628  500 S    6  0.2   0:00.07 1 wait      gcc 
                                                      
 7310 root      25   0  3188 1264  756 S    4  0.5   0:02.28 1 pipe_wait make
                                                      
    1 root      16   0  2356  824  680 S    0  0.3   0:40.96 0 select    init
                                                      
    2 root      RT   0     0    0    0 S    0  0.0   0:00.09 0 migration
migration/0                                                
    3 root      34  19     0    0    0 S    0  0.0   0:00.00 0 ksoftirqd
ksoftirqd/0                                                
    4 root      RT   0     0    0    0 S    0  0.0   0:00.00 0 msleep_in
watchdog/0                                                 
    5 root      10  -5     0    0    0 S    0  0.0   0:00.00 0 worker_th
events/0                                                   
    6 root      12  -5     0    0    0 S    0  0.0   0:00.07 1 worker_th
khelper                                                    
    7 root      10  -5     0    0    0 S    0  0.0   0:00.00 0 worker_th
kthread                                                    

;<)


-------------------------------------------------------
NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book. 







More information about the Yaird-devel mailing list