The time now is Mon 23 Apr 2018, 23:39
All times are UTC - 4 |
Author |
Message |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Wed 02 Feb 2011, 10:20 Post subject:
|
|
Quote: | bb modprobe seems to ignore module.alias even if support for modules.alias is enabled ( perhaps just for depmod ) |
I found out, that this is fortunately not true
Unfortunately it seems that every mainboard has got different additional modaliases which are not listed in modules.alias .
So it looks in the .alias file but only mentions that it cannot find it in the .dep file .
I tested it by restoring the dirs /lib/modules/`uname -r`/* and copying the uhci-hcd module back from /pup_new/lib/* into it , running depmod , adding a PS2-keyboard to the USB-keyboard and modprobe [ -r ] uhci-hcd / modprobe pci:v*d*sv*sd*bc0Csc03i00* : this both worked to switch the USB-keyboard on/off .
Another bb-feature to try is `bootchartd start` but it presents three large log files with somehow unuseable data :
[/var/log/]proc_diskstats.log : after several minute > 13,000 lines of
Quote: | 9174
2 0 fd0 0 0 0 0 0 0 0 0 0 0 0
2 1 fd1 0 0 0 0 0 0 0 0 0 0 0
1 0 ram0 0 0 0 0 0 0 0 0 0 0 0
1 1 ram1 0 0 0 0 0 0 0 0 0 0 0
1 2 ram2 0 0 0 0 0 0 0 0 0 0 0
1 3 ram3 0 0 0 0 0 0 0 0 0 0 0
1 4 ram4 0 0 0 0 0 0 0 0 0 0 0
1 5 ram5 0 0 0 0 0 0 0 0 0 0 0
1 6 ram6 0 0 0 0 0 0 0 0 0 0 0
1 7 ram7 0 0 0 0 0 0 0 0 0 0 0
1 8 ram8 0 0 0 0 0 0 0 0 0 0 0
1 9 ram9 0 0 0 0 0 0 0 0 0 0 0
1 10 ram10 0 0 0 0 0 0 0 0 0 0 0
1 11 ram11 0 0 0 0 0 0 0 0 0 0 0
1 12 ram12 0 0 0 0 0 0 0 0 0 0 0
1 13 ram13 0 0 0 0 0 0 0 0 0 0 0
1 14 ram14 0 0 0 0 0 0 0 0 0 0 0
1 15 ram15 0 0 0 0 0 0 0 0 0 0 0
7 0 loop0 0 0 0 0 0 0 0 0 0 0 0
7 1 loop1 0 0 0 0 0 0 0 0 0 0 0
7 2 loop2 0 0 0 0 0 0 0 0 0 0 0
7 3 loop3 0 0 0 0 0 0 0 0 0 0 0
7 4 loop4 0 0 0 0 0 0 0 0 0 0 0
7 5 loop5 0 0 0 0 0 0 0 0 0 0 0
7 6 loop6 0 0 0 0 0 0 0 0 0 0 0
7 7 loop7 0 0 0 0 0 0 0 0 0 0 0
8 0 sda 2040 445 17254 7196 44 0 448 24 0 7192 7220
8 1 sda1 182 31 1474 536 2 0 16 0 0 536 536
8 2 sda2 3 0 18 0 0 0 0 0 0 0 0
8 3 sda3 232 10 1898 872 2 0 16 0 0 872 872
8 4 sda4 3 31 48 8 0 0 0 0 0 8 8
8 5 sda5 573 7 4972 2000 28 0 320 16 0 1992 2016
8 6 sda6 211 18 1730 576 2 0 16 0 0 576 576
8 7 sda7 3 15 48 16 0 0 0 0 0 16 16
8 8 sda8 306 7 2466 768 2 0 16 4 0 772 772
8 9 sda9 239 34 1954 1336 2 0 16 4 0 1340 1340
8 10 sda10 223 18 1826 628 2 0 16 0 0 628 628
8 11 sda11 12 31 114 36 2 0 16 0 0 36 36
8 12 sda12 17 18 178 112 2 0 16 0 0 112 112
8 13 sda13 5 99 104 36 0 0 0 0 0 32 36
8 14 sda14 7 99 120 32 0 0 0 0 0 32 32
8 15 sda15 7 21 120 28 0 0 0 0 0 28 28
259 0 sda16 0 0 0 0 0 0 0 0 0 0 0
11 0 sr0 5 0 20 88 0 0 0 0 0 88 88 |
proc_ps.log : > 10,000 lines
9174
Quote: | 1 (sh) S 0 0 0 0 -1 4202752 3870 270133 0 0 10 104 1476 379 20 0 1 0 2 1241088 256 4294967295 12587008 13072608 3216404416 3216398668 134773413 0 0 16388 134217730 0 0 0 0 0 0 0 0 0 0
2 (kthreadd) S 0 0 0 0 -1 2149621824 0 0 0 0 0 0 0 0 15 -5 1 0 2 0 0 4294967295 0 0 0 0 0 0 0 2147483647 0 0 0 0 0 0 0 0 0 0 0
2165 (loop4) S 2 0 0 0 -1 2149621824 0 0 0 0 0 0 0 0 0 -20 1 0 2879 0 0 4294967295 0 0 0 0 0 0 0 2147483647 0 0 0 0 17 0 0 0 0 0 0
2245 (syslogd) S 1 2245 2245 0 -1 4202560 8 0 0 0 0 2 0 0 20 0 1 0 3077 1236992 250 4294967295 12587008 13072608 3216062592 3216057728 134521406 0 0 5 16386 0 0 0 17 0 0 0 0 0 0
2247 (klogd) S 1 2247 2247 0 -1 4202816 11 0 0 0 1 2 0 0 20 0 1 0 3084 1236992 253 4294967295 12587008 13072608 3213436064 3213431248 134522916 0 0 1 58751526 0 0 0 17 0 0 0 0 0 0
2248 (bootchartd) R 1 0 0 0 -1 4202816 11 0 0 0 0 0 0 0 20 0 1 0 3091 1245184 255 4294967295 12587008 13072608 3213270112 3213260572 134521406 0 0 0 18951 0 0 0 17 0 0 0 0 0 0 |
proc_stat.log > 2,900 lines
Quote: | 9174
cpu 1488 0 504 6525 641 6 8 0 0
cpu0 1488 0 504 6525 641 6 8 0 0
intr 25680 71 8 0 0 0 0 3 0 0 0 0 525 0 0 2090 66 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ctxt 16612
btime 1296654903
processes 2251
procs_running 1
procs_blocked 0 |
and a header file of 4 lines
Quote: | version = 0.8
title = Boot chart for (none) (Wed Feb 2 13:56:34 UTC 2011)
system.uname = Linux 2.6.30.5 #1 SMP Tue Sep 1 15:48:26 GMT-8 2009 i686
system.kernel.options = psubdir=JUMP-5 pdev=sdb5 vga=normal debug panic=40 pfix=rdsh |
whose data is found also at /tmp/bootkernel.log &| /var/log/messages .
bootchartd also needs tar enabled ( produces a /var/log/bootchart.tgz ) .
So these both (bootchartd/tar) can be disabled with good awareness !
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 4208 Location: Kiel,Germany
|
Posted: Mon 07 Feb 2011, 10:45 Post subject:
|
|
About running `init` at the rdsh :
Code: | #RDSH is a boot param. exit to initial ramdisk shell...
if [ "$RDSH" = "yes" ];then
[ "` which syslogd`" != "" ] && syslogd &
[ "`which klogd`" != "" ] && klogd &
[ "` which bootchartd`" != "" ] && [ "`which tar `" != "" ] && bootchartd start &
echo > /dev/console
echo "Dropped to initramfs shell. Type 'exec switch' to continue booting Puppy." > /dev/console
exec init
echo `ps | grep 1` >/dev/console
ps | grep 1 > /tmp/PS.txt
sleep 1
exec /bin/sh >/dev/console 2>&1
fi |
A: exec switch does not work anymore to continue booting
B: kill[all] 1 [init] is a simple way to reboot immediately
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
[ Time: 0.0620s ][ Queries: 13 (0.0268s) ][ GZIP on ] |