Config Linux BIOS: Is it possible (Re: [OLPC-devel] DOS in Windows Flash Disaster Recovery Utility?

supat at supat.eu.org supat at supat.eu.org
Tue Sep 5 22:42:23 EDT 2006


More info on dmesg and /proc/bus/usb

Obviously, slackware can see Marvell wireless now but cannot see eth0 :(

Please help.

I try the same using ututo.igz and got the same result as in slackware. 
So, usb8xxx is work only by luck under fedora only.
The problem to bring it up globally still exist.

Now I made slackware to have below info in OLPC:

============

Adding info for ac97:0-0:AD1888
ide_core: exports duplicate symbol noautodma (owned by kernel)
AMD5536: IDE controller at PCI slot 0000:00:0f.2
AMD5536: chipset revision 1
AMD5536: not 100% native mode: will probe irqs later
AMD5536: 0000:00:0f.2 (rev 01) UDMA100 controller
AMD5536: neither IDE port enabled (BIOS)
ide_core: exports duplicate symbol noautodma (owned by kernel)
usb8xxx: probe of 1-4:1.0 failed with error -12
usbcore: registered new driver usb8xxx
usbcore: deregistering driver usb8xxx
request_firmware() failed, error code = 0xfffffffe
usb8388.bin not found in /lib/firmware
unregister_netdevice: device eth%d/c4470000 never was registered
usb8xxx: probe of 1-4:1.0 failed with error -12
usbcore: registered new driver usb8xxx
usbcore: deregistering driver usb8xxx
usb 1-2: new high speed USB device using ehci_hcd and address 5
PM: Adding info for usb:1-2
PM: Adding info for No Bus:usbdev1.5_ep00
usb 1-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:1-2:1.0
scsi1 : SCSI emulation for USB Mass Storage devices
PM: Adding info for No Bus:host1
PM: Adding info for No Bus:usbdev1.5_ep81
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
PM: Adding info for No Bus:usbdev1.5_ep02
PM: Adding info for No Bus:usbdev1.5
PM: Adding info for No Bus:target1:0:0
   Vendor: Kingston  Model: DataTraveler 2.0  Rev: PMAP
   Type:   Direct-Access                      ANSI SCSI revision: 00
PM: Adding info for scsi:1:0:0:0
SCSI device sdb: 977664 512-byte hdwr sectors (501 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 977664 512-byte hdwr sectors (501 MB)
sdb: Write Protect is off
sdb: Mode Sense: 23 00 00 00
sdb: assuming drive cache: write through
  sdb: sdb1 sdb2
sd 1:0:0:0: Attached scsi removable disk sdb
PM: Adding info for No Bus:target1:0:1
PM: Removing info for No Bus:target1:0:1
PM: Adding info for No Bus:target1:0:2
PM: Removing info for No Bus:target1:0:2
PM: Adding info for No Bus:target1:0:3
PM: Removing info for No Bus:target1:0:3
PM: Adding info for No Bus:target1:0:4
PM: Removing info for No Bus:target1:0:4
PM: Adding info for No Bus:target1:0:5
PM: Removing info for No Bus:target1:0:5
PM: Adding info for No Bus:target1:0:6
PM: Removing info for No Bus:target1:0:6
PM: Adding info for No Bus:target1:0:7
PM: Removing info for No Bus:target1:0:7
usb-storage: device scan complete
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 1:0:0:0: Attached scsi generic sg1 type 0
request_firmware() failed, error code = 0xfffffffe
usb8388.bin not found in /lib/firmware
unregister_netdevice: device eth%d/c45fd000 never was registered
usb8xxx: probe of 1-4:1.0 failed with error -12
usbcore: registered new driver usb8xxx

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 4
B:  Alloc= 28/900 us ( 3%), #Int=  2, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-rc2 ohci_hcd
S:  Product=OHCI Host Controller
S:  SerialNumber=0000:00:0f.4
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  2 Spd=1.5 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=04d9 ProdID=1203 Rev= 2.60
C:* #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
I:  If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 4
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-rc2 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:0f.5
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=13fe ProdID=1a00 Rev= 1.00
S:  Manufacturer=Kingston
S:  Product=DataTraveler 2.0
S:  SerialNumber=5B650B009857
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=13fe ProdID=1a00 Rev= 1.00
S:  Manufacturer=Kingston
S:  Product=DataTraveler 2.0
S:  SerialNumber=5B64050003AE
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1286 ProdID=2001 Rev=30.06
S:  Manufacturer=Marvell
S:  Product=MARVELL Wireless Device
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms


On Tue, 5 Sep 2006, supat at supat.eu.org wrote:

>
>
> On Tue, 5 Sep 2006, Jim Gettys wrote:
>
>> On Mon, 2006-09-04 at 21:05 -0800, supat at supat.eu.org wrote:
>>> 
>>> On Mon, 4 Sep 2006, James Cameron wrote:
>>> 
>>>> On Mon, Sep 04, 2006 at 02:22:00PM -0800, supat at supat.eu.org wrote:
>>>>> After I burn OLPC to Linux BIOS, seem it is always has error messages at
>>>>> the beginning like:
>>>>> 
>>>>> ACPI ... DSCP not found ??
>>>> 
>>>> I don't get this message, and besides since ACPI is not planned to be
>>>> present I wouldn't be concerned if I did see such a message.  Does the
>>>> system boot anyway?  When during the boot process do you see this
>>>> message?  What are you booting?
>>>> 
>>> 
>>> I am careless. The exact words is what you said "ACPI: Unable to locate
>>> RSDP"
>>> 
>>> Can this cause problem to slackware to be unable to find the firmware?
>> 
>> Seems unlikely.
>> 
>>> 
>>> 
>>>> Booting build 81 shows in dmesg "ACPI: Unable to locate RSDP", and
>>>> "ACPI: Interpreter disabled."  This is expected.
>>>> 
>>>>> I press F1 and it has only images.
>>>> 
>>>> This seems normal.  F1 enters the image menu, then you use left and
>>>> right arrow keys to select an image.  The last image, on my board, gives
>>>> a LinuxBIOS shell prompt.
>>> 
>>> 
>>> Even not press the arrows finally it will boot USB after cannot find the
>>> NAND memory devices.
>>> 
>>> a LinuxBIOS shell prompt?
>>> 
>>> I will not call it. Because boot from utotu CD or slak CD can have the
>>> same initrd shell.
>> 
>> You must be using fbdev after LinuxBIOS is installed: there is no VESA
>> support in our LinuxBIOS load.
>> 
>>> 
>>> IMO: Linux shell prompt should be capable to config some things like
>>> change date, change CPU speed, change boot priority, etc.
>> 
>> Changing date should be done from Linux; there is no need for setting it
>> in the BIOS.
>> 
>> Which device is booted is determined by shell scripts in the Linux that
>> is the payload of LinuxBIOS.  If you want to implement such
>> functionality, you are welcome to help.
>> 
>>> 
>>>>> I am not sure that is feature or bug.
>>>> 
>>>> It seems to be a feature.
>>> 
>>> OK. Thank you to let me know my BIOS linux is normal.
>>> 
>>>> 
>>>>> Could you please verify me that :
>>>>> There is no way under linux BIOS to config the OLPC devices?
>>>> 
>>>> Perhaps the source code would show what it is capable of, or perhaps we
>>>> need to wait for documentation on what configuration options are
>>>> available.  Is there any reason you need to configure devices?  Why
>>>> shouldn't Linux be able to do this configuration?  We control the BIOS,
>>>> there seems no justification for device configuration functionality.
>>> 
>>> Earlier BIOS control Marvell Wireless by reset or power-off.
>>> Now. Fedora can control Marvell Wireless completely in good shape w/o need
>>> reset/power-off but unfortunately I cannot find out how slackware can do
>>> the same :(
>> 
>> It is slackware's responsibility to pick up device drivers for OLPC, at
>> least until they enter the kernel.org source pool.  I know Marcelo has
>> been planning some further cleanup of the driver before submission to
>> kernel.org.
>> 
>>> 
>>>>> If so, after I power-off, is thare any way to bring back the old BIOS.
>>>> 
>>>> Perhaps.  I've not tested it, and I'm not willing to.  You should be
>>>> able to boot from the same filesystem you did the olpcflash commands on.
>>>> But why would you need to do this at all?  Why do you need ACPI?
>>> 
>>> I don't know. Because I only see that error and that error correlated or
>>> co-incident with slackware become unable to make usb8xxx to work
>>> correctly. :(
>> 
>> I don't know what you mean by usb8xxx.
>> 
>> As Marcelo notes,
>> 
>> 1) cat /proc/bus/usb/devices
>> 
>> 2) dmesg
>
> Under OLPC using slackware /proc/bus/usb/devices did NOT exist.
> The kernel and initrd on slackware that did not run OLPC produce below cat 
> /proc/bus/usb/devices:
>
> ...
>
> T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0930 ProdID=653d Rev= 2.00
> S:  Manufacturer=KINGSTON
> S:  Product=DataTraveler I
> S:  SerialNumber=0F80D4604162E493
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 94mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> ....
>
>
> dmesg on slackware OLPC using my bzImage produce:
>
> ide_scsi: Unknown symbol kmap_atomic
> ide_scsi: Unknown symbol kunmap_atomic
> ide_scsi: Unknown symbol page_address
> ipv6: Unknown symbol page_address
> ipv6: Unknown symbol page_address
> request_firmware() failed, error code = 0xfffffffe
> usb8388.bin not found in /lib/firmware
> unregister_netdevice: device eth%d/c7259000 never was registered
> usb8xxx: probe of 1-4:1.0 failed with error -12
> usbcore: registered new driver usb8xxx
>
> ...
>
> dmesg on slackware OLPC using my original olpc_vmlinuz produce:
>
>
> PM: Removing info for No Bus:target0:0:6
> PM: Adding info for No Bus:target0:0:7
> PM: Removing info for No Bus:target0:0:7
> usb-storage: device scan complete
> Adding 44632k swap on /dev/sda2.  Priority:-1 extents:1 across:44632k
> NET: Registered protocol family 10
> lo: Disabled Privacy Extensions
> IPv6 over IPv4 tunneling driver
> usb8xxx: probe of 1-4:1.0 failed with error -12
> usbcore: registered new driver usb8xxx
>
> ------------
>
> I see that under slackware BUS of usb8388 did not exist :(
>
> Please help.
>
> the kernal loading command is identical to your original:
>
> #!/bin/sh
>
> ROOTFS=/key
> ROOT=LABEL=OLPCRoot
> ROOTFSTYPE=ext3
> if [ -d /flash/boot ] ; then
>    ROOTFS=/flash
>    ROOT=mtd0
>    ROOTFSTYPE=jffs2
> fi
>
> /sbin/kbl-kexec $ROOTFS/boot/olpc-vmlinuz "ro quiet root=$ROOT 
> rootfstype=$ROOTF
> STYPE console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22 pci=nobios 
> video=gxf
> b:1024x768-16" $ROOTFS/boot/olpc-initrd.img
>
> regards,
> supat
>



More information about the Devel mailing list