Erich Titl wrote:
> Brent
>
> Brent Gardner schrieb:
>> Brent Gardner wrote:
>>
>>> I have several devices that run Bering-uClibc v3.0-Beta2. These
>>> devices boot from CD and read and save config on USB flash drive.
>>>
>>> I'm trying to upgrade to v3.1.1-Beta2 but having a bit of trouble
>>> with the flash drive.
>>>
>>> On my test machine and on 2 other machines the setup works as
>>> expected, but on the target machine, the machine does not see the
>>> flash drive during boot so packages and config are not loaded.
>>> But after booting, I can mount and access the flash drive, no problem.
>>>
> Please have a look if you load additional usb modules in /etc/modules,
> these might be missing in the usb_initrd package. Look at your logs and
> use lsmod to see what modules are loaded. I suspect you have different
> usb hardware in your target machine.
>
> Looking at the initrd the following modules are loaded for usb
> usbcore.o usb-storage.o usb-uhci.o
>
> along with
>
> scsi_mod.o
> sd_mod.o
>
Thanks for your reply, Erich.
I've been successfully booting the target machine from a Bering-uClibc
v3.0-Beta2 CD and reading/writing config to USB flash for 2+ years and
it continues to boot properly with that config.
From the Bering-uClibc v3.1.1-Beta2 setup that's giving me trouble:
CD uses isolinux to boot.
contents of <cd root>/boot/isolinux/isolinuc.cfg:
display isolinux.dpy
timeout 0
append reboot=bios
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
LEAFCFG=/dev/sda1:msdos PKGPATH=/dev/sda1:msdos,/dev/cdrom:iso9660
LRP=root,config,etc
contents of <initrd root>/boot/lib/modules directory:
-rw-r--r-- 1 root root 37512 2009-02-07 14:37 cdrom.o
-rw-r--r-- 1 root root 20908 2009-04-28 14:19 ehci-hcd.o
-rw-r--r-- 1 root root 36596 2009-02-07 14:37 ide-cd.o
-rw-r--r-- 1 root root 135908 2009-02-07 14:37 ide-core.o
-rw-r--r-- 1 root root 1075 2009-02-07 14:37 ide-detect.o
-rw-r--r-- 1 root root 18236 2009-02-07 14:37 ide-disk.o
-rw-r--r-- 1 root root 22199 2009-02-07 14:37 isofs.o
-rw-r--r-- 1 root root 77786 2009-04-23 16:38 scsi_mod.o
-rw-r--r-- 1 root root 15828 2009-04-23 16:38 sd_mod.o
-rw-r--r-- 1 root root 81022 2009-04-23 16:35 usbcore.o
-rw-r--r-- 1 root root 22776 2009-04-28 17:10 usb-ohci.o
-rw-r--r-- 1 root root 69776 2009-04-23 16:36 usb-storage.o
-rw-r--r-- 1 root root 26392 2009-04-23 16:36 usb-uhci.o
-rw-r--r-- 1 root root 13930 2009-02-07 14:37 vfat.o
contents of <initrd root>/boot/etc/modules:
cdrom
ide-core
ide-disk
ide-cd
ide-detect
isofs
usbcore
usb-uhci
#usb-ohci
#ehci-hcd
scsi_mod
usb-storage
sd_mod
vfat
On a machine where I can get it to boot, contents of /etc/modules:
tg3
e1000e
ip_conntrack
iptable_nat
ip_conntrack_amanda
ip_conntrack_ftp
ip_conntrack_h323
ip_conntrack_irc
ip_conntrack_pptp
ip_conntrack_tftp
ip_nat_amanda
ip_nat_ftp
ip_nat_h323
ip_nat_irc
ip_nat_pptp
ip_nat_snmp_basic
ip_nat_tftp
sch_sfq
sch_ingress
sch_htb
cls_fw
cls_u32
ipt_ah
ipt_CLASSIFY
ipt_connmark
ipt_CONNMARK
ipt_conntrack
ipt_esp
ipt_helper
ipt_ipp2p
ipt_MASQUERADE
ipt_owner
ipt_physdev
ipt_recent
ipt_REDIRECT
ipt_state
ipt_ttl
softdog
From the Bering-uClibc v3.0-Beta2 setup that works:
CD boots eltorito-style.
Contents of syslinux.cfg in bootdisk.ima:
display syslinux.dpy
timeout 0
default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0
LEAFCFG=/dev/sda1:msdos PKGPATH=/dev/sda1:msdos,/dev/cdrom:iso9660
LRP=root,config,etc
Contents of <initrd root> boot/lib/modules directory:
-r--r--r-- 1 root root 37512 2006-08-28 12:22 cdrom.o
-r--r--r-- 1 root root 36596 2006-08-28 12:23 ide-cd.o
-rw-r--r-- 1 root root 135972 2006-08-20 08:10 ide-core.o
-r--r--r-- 1 root root 1071 2006-08-28 12:24 ide-detect.o
-r--r--r-- 1 root root 18268 2006-08-28 12:23 ide-disk.o
-r-xr-xr-x 1 root root 22199 2006-08-28 12:32 isofs.o
-rw-r--r-- 1 root root 77786 2006-08-20 08:10 scsi_mod.o
-rw-r--r-- 1 root root 15828 2006-08-20 08:10 sd_mod.o
-rw-r--r-- 1 root root 80352 2006-08-20 08:10 usbcore.o
-rw-r--r-- 1 root root 69746 2006-08-20 08:10 usb-storage.o
-rw-r--r-- 1 root root 26392 2006-08-20 08:10 usb-uhci.o
-rw-r--r-- 1 root root 13930 2006-08-20 08:10 vfat.o
Contents of <initrd root>/boot/etc/modules:
cdrom
ide-core
ide-disk
ide-cd
ide-detect
isofs
usbcore
usb-uhci
scsi_mod
usb-storage
sd_mod
vfat
Brent Gardner
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3.
http://p.sf.net/sfu/velocityconf------------------------------------------------------------------------
leaf-user mailing list:
leaf-user@...
https://lists.sourceforge.net/lists/listinfo/leaf-userSupport Request --
http://leaf-project.org/