[Voyage-linux] a couple minor boot probs on soekris 4801
Jim Cromie
(spam-protected)
Sat Jun 11 17:19:20 HKT 2011
Cleaning up ifupdown....
scx200_acb: probe failed
scx200_acb: probe failed
Loading kernel modules...done.
Activating lvm and md swap...done.
Checking file systems...fsck from util-linux-ng 2.17.2
done.
Mounting local filesystems...failed.
havent yet figured out what has failed,
could you be more verbose here ?
heres what did get mounted.
root at voyage:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 484622 148068 311531 33% /
udev 62888 10828 52060 18% /dev
/dev/disk/by-label/ROOT_FS
484622 148068 311531 33% /
tmpfs 62888 248 62640 1% /lib/init/rw
varrun 62888 40 62848 1% /var/run
varlock 62888 0 62888 0% /var/lock
tmpfs 62888 4 62884 1% /dev/shm
tmpfs 62888 0 62888 0% /tmp
tmpfs 62888 248 62640 1% /var/log
tmpfs 62888 248 62640 1% /var/tmp
Activating swapfile swap...done.
Cleaning up temporary files....
Setting kernel variables ...done.
Setting up resolvconf...done.
Setting up networking....
voyage-sync: Start tmpfs...
voyage-sync: Copying /ro to /rw
voyage-sync: Setting up tmpfs for changed files...
voyage-sync: tmpfs: mount back /lib/init/rw/var/log to /var/log
chown: invalid user: `UNKNOWN:UNKNOWN'
voyage-sync: tmpfs: mount back /lib/init/rw/var/tmp to /var/tmp
chown: invalid user: `UNKNOWN:UNKNOWN'
voyage-sync: Start tmpfs completed
I have a hunch those UNKOWNs may be due to me doing CF installs as
sudo ..voyage.update, leaving file ownership as 500.500 (my uid)
I know I have to chown /root to make ssh accept authorized_keys.
a chown -R root.root would be a good addition in voyage.update
Also, Im adding ide-core.nodma=0.0 to my grub boot line
It fixes these errors:
[ 16.081353] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 16.276112] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 30.647602] hda: ide_dma_sff_timer_expiry: DMA status (0x21)
[ 40.662066] hda: DMA timeout error
[ 40.663001] ide_dma_end dma_stat=21 err=1 newerr=0
[ 40.663001] hda: dma timeout error: status=0x58 { DriveReady
SeekComplete DataRequest }
[ 40.663001] hda: possibly failed opcode: 0xc8
[ 40.663001] hda: DMA disabled
[ 40.712061] ide0: reset: success
[ 40.725306] hda: hda1
[ 40.765506] natsemi eth0: NatSemi DP8381[56] at 0xa0000000
(0000:00:06.0), 00:00:24:c2:46:c8, IRQ 10, port TP.
[ 40.771410] ohci_hcd 0000:00:13.0: OHCI Host Controller
[ 40.773796] ohci_hcd 0000:00:13.0: new USB bus registered, assigned
bus number 1
[ 40.780379] ohci_hcd 0000:00:13.0: irq 9, io mem 0xa0030000
[ 40.840650] hub 1-0:1.0: USB hub found
[ 40.841736] hub 1-0:1.0: 3 ports detected
[ 40.908526] natsemi eth1: NatSemi DP8381[56] at 0xa0001000
(0000:00:07.0), 00:00:24:c2:46:c9, IRQ 10, port TP.
[ 40.988152] natsemi eth2: NatSemi DP8381[56] at 0xa0002000
(0000:00:08.0), 00:00:24:c2:46:ca, IRQ 10, port TP.
[ 41.157200] usb 1-1: new full speed USB device using ohci_hcd and address 2
[ 42.888126] Initializing USB Mass Storage driver...
[ 42.896931] scsi0 : usb-storage 1-1:1.0
[ 42.914025] usbcore: registered new interface driver usb-storage
[ 42.915284] USB Mass Storage support registered.
[ 43.926034] scsi 0:0:0:0: Direct-Access USB Flash
Memory 1.04 PQ: 0 ANSI: 0 CCS
[ 44.678075] sd 0:0:0:0: [sda] 1001472 512-byte logical blocks: (512
MB/489 MiB)
[ 44.682939] sd 0:0:0:0: [sda] Write Protect is off
[ 44.694986] sd 0:0:0:0: [sda] No Caching mode page present
[ 44.695758] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 44.747826] sd 0:0:0:0: [sda] No Caching mode page present
[ 44.748594] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 44.762686] sda: sda1
[ 44.810990] sd 0:0:0:0: [sda] No Caching mode page present
[ 44.811763] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 44.813111] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 63.154644] hda: ide_dma_sff_timer_expiry: DMA status (0x21)
[ 73.169107] hda: DMA timeout error
[ 73.170041] ide_dma_end dma_stat=21 err=1 newerr=0
[ 73.170041] hda: dma timeout error: status=0x58 { DriveReady
SeekComplete DataRequest }
[ 73.170041] hda: possibly failed opcode: 0xc8
[ 73.170041] hda: DMA disabled
[ 73.219103] ide0: reset: success
[ 93.230051] hda: ide_dma_sff_timer_expiry: DMA status (0x21)
[ 103.244518] hda: DMA timeout error
[ 103.245452] ide_dma_end dma_stat=21 err=1 newerr=0
[ 103.245452] hda: dma timeout error: status=0x58 { DriveReady
SeekComplete DataRequest }
[ 103.245452] hda: possibly failed opcode: 0xc8
[ 103.245452] hda: DMA disabled
[ 103.294513] ide0: reset: success
[ 123.305468] hda: ide_dma_sff_timer_expiry: DMA status (0x21)
[ 133.319955] hda: DMA timeout error
[ 133.320871] ide_dma_end dma_stat=21 err=1 newerr=0
[ 133.320871] hda: dma timeout error: status=0x58 { DriveReady
SeekComplete DataRequest }
[ 133.320871] hda: possibly failed opcode: 0xc8
[ 133.320871] hda: DMA disabled
[ 133.369926] ide0: reset: success
which gives a much faster boot, due to no timeouts.
[ 15.638308] usbcore: registered new interface driver usb-storage
[ 15.653758] USB Mass Storage support registered.
[ 16.651229] scsi 0:0:0:0: Direct-Access USB Flash
Memory 1.04 PQ: 0 ANSI: 0 CCS
[ 16.680106] sd 0:0:0:0: [sda] 1001472 512-byte logical blocks: (512
MB/489 MiB)
[ 16.686084] sd 0:0:0:0: [sda] Write Protect is off
[ 16.693088] sd 0:0:0:0: [sda] No Caching mode page present
[ 16.695583] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 16.763974] sd 0:0:0:0: [sda] No Caching mode page present
[ 16.766553] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 16.827149] sda: sda1
[ 16.890090] sd 0:0:0:0: [sda] No Caching mode page present
[ 16.902555] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 16.918539] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 19.276452] sd 0:0:0:0: Attached scsi generic sg0 type 0
done.
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
Using makefile-style concurrent boot in runlevel S.
Starting the hotplug events dispatcher: udevd[ 25.615272] udev[990]:
starting version 164
.
Synthesizing the initial hotplug events...[ 28.541293] scx200:
NatSemi SCx200 Driver
[ 28.580988] scx200: GPIO base 0x6100
[ 28.604878] scx200: Configuration Block base 0x6000
[ 29.152872] input: PC Speaker as /devices/platform/pcspkr/input/input0
[ 30.759005] cfg80211: Calling CRDA to update world regulatory domain
[ 35.554869] cfg80211: World regulatory domain updated:
I reported this once before,
I dont think it works on all HDs on all kernel vintages.
In particular, IIUC, the boot-option controls only libata users,
not other drivers.
I did some hacking at install script to create a /etc/modprobe.d/net4801.conf
file with some of these settings, Ill dredge it (a patch) up soon.
More information about the Voyage-linux
mailing list