Kristian Kielhofner wrote:
> On 10/7/07, Philip Prindeville <[EMAIL PROTECTED]> wrote:
>   
>> I did an "svn update" and built earlier today.
>>
>> I'm booting a net5501 with CF, but no USB key disk, and seeing:
>>
>> root (hd0,0)
>>  Filesystem type is ext2fs, partition type 0x83
>> kernel /boot/bzImage root=/dev/hda1 console=ttyS0,19200n8 astlinux=net5501 
>> astk
>> d=/dev/sda1 ide=nodma
>>    [Linux-bzImage, setup=0x1400, size=0x137010]
>>
>> ?[6nLinux version 2.6.20.18-astlinux ([EMAIL PROTECTED]) (gcc version 4.1.2) 
>> #1 PREEMPT Sat Oct 6 02:09:01 MDT 2007
>> BIOS-provided physical RAM map:
>> sanitize start
>> sanitize end
>> copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 
>> 000000000009fc00 type: 1
>> copy_e820_map() type is E820_RAM
>> copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 
>> 00000000000a0000 type: 2
>> copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 
>> 0000000000100000 type: 2
>> copy_e820_map() start: 0000000000100000 size: 000000000ff00000 end: 
>> 0000000010000000 type: 1
>> copy_e820_map() type is E820_RAM
>> copy_e820_map() start: 00000000fff00000 size: 0000000000100000 end: 
>> 0000000100000000 type: 2
>>  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>>  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>>  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>>  BIOS-e820: 0000000000100000 - 0000000010000000 (usable)
>>  BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
>> 256MB LOWMEM available.
>> Zone PFN ranges:
>>   DMA             0 ->     4096
>>   Normal       4096 ->    65536
>> early_node_map[1] active PFN ranges
>>     0:        0 ->    65536
>> DMI not present or invalid.
>> Allocating PCI resources starting at 20000000 (gap: 10000000:eff00000)
>> Detected 433.270 MHz processor.
>> Built 1 zonelists.  Total pages: 65024
>> Kernel command line: root=/dev/hda1 console=ttyS0,19200n8 astlinux=net5501 
>> astkd=/dev/sda1 ide=nodma
>> ide_setup: ide=nodma : Prevented DMA
>> Initializing CPU#0
>> PID hash table entries: 1024 (order: 10, 4096 bytes)
>> Console: colour dummy device 80x25
>> Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
>> Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
>> Memory: 256928k/262144k available (1640k kernel code, 4784k reserved, 604k 
>> data, 136k init, 0k highmem)
>> virtual kernel memory layout:
>>     fixmap  : 0xffffd000 - 0xfffff000   (   8 kB)
>>     vmalloc : 0xd0800000 - 0xffffb000   ( 759 MB)
>>     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
>>       .init : 0xc0334000 - 0xc0356000   ( 136 kB)
>>       .data : 0xc029a2b1 - 0xc0331314   ( 604 kB)
>>       .text : 0xc0100000 - 0xc029a2b1   (1640 kB)
>> Checking if this processor honours the WP bit even in supervisor mode... Ok.
>> Calibrating delay using timer specific routine.. 867.29 BogoMIPS (lpj=433648)
>> Mount-cache hash table entries: 512
>> CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
>> CPU: L2 Cache: 128K (32 bytes/line)
>> CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02
>> Checking 'hlt' instruction... OK.
>> NET: Registered protocol family 16
>> PCI: PCI BIOS revision 2.01 entry at 0xfac61, last bus=0
>> PCI: Using configuration type 1
>> Setting up standard PCI resources
>> Linux Plug and Play Support v0.97 (c) Adam Belay
>> PnPBIOS: Scanning system for PnP BIOS support...
>> PnPBIOS: PnP BIOS support was not detected.
>> SCSI subsystem initialized
>> usbcore: registered new interface driver usbfs
>> usbcore: registered new interface driver hub
>> usbcore: registered new device driver usb
>> PCI: Probing PCI hardware
>> NET: Registered protocol family 2
>> IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
>> TCP established hash table entries: 8192 (order: 3, 32768 bytes)
>> TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
>> TCP: Hash tables configured (established 8192 bind 4096)
>> TCP reno registered
>> scx200: NatSemi SCx200 Driver
>> squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
>> Registering unionfs 2.0
>> io scheduler noop registered
>> io scheduler cfq registered (default)
>> isapnp: Scanning for PnP cards...
>> isapnp: No Plug & Play device found
>> Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
>> serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>> serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
>> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
>> loop: loaded (max 8 devices)
>> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
>> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
>> hdb: Flash Card, CFA DISK drive
>> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>> hdb: max request size: 128KiB
>> hdb: 1025136 sectors (524 MB) w/0KiB Cache, CHS=1017/16/63
>> hdb: cache flushes not supported
>>  hdb: hdb1
>> ehci_hcd 0000:00:14.5: EHCI Host Controller
>> ehci_hcd 0000:00:14.5: new USB bus registered, assigned bus number 1
>> ehci_hcd 0000:00:14.5: irq 15, io mem 0xa0006000
>> ehci_hcd 0000:00:14.5: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
>> usb usb1: configuration #1 chosen from 1 choice
>> hub 1-0:1.0: USB hub found
>> hub 1-0:1.0: 4 ports detected
>> ohci_hcd 0000:00:14.4: OHCI Host Controller
>> ohci_hcd 0000:00:14.4: new USB bus registered, assigned bus number 2
>> ohci_hcd 0000:00:14.4: irq 15, io mem 0xa0005000
>> usb usb2: configuration #1 chosen from 1 choice
>> hub 2-0:1.0: USB hub found
>> hub 2-0:1.0: 4 ports detected
>> Initializing USB Mass Storage driver...
>> usbcore: registered new interface driver usb-storage
>> USB Mass Storage support registered.
>> usbcore: registered new interface driver hiddev
>> usbcore: registered new interface driver usbhid
>> drivers/usb/input/hid-core.c: v2.6:USB HID core driver
>> PNP: No PS/2 controller found. Probing ports directly.
>> serio: i8042 KBD port at 0x60,0x64 irq 1
>> mice: PS/2 mouse device common for all mice
>> TCP cubic registered
>> NET: Registered protocol family 1
>> NET: Registered protocol family 17
>> Using IPI Shortcut mode
>> drivers/rtc/hctosys.c: unable to open rtc device (rtc)
>> Time: tsc clocksource has been installed.
>> VFS: Cannot open root device "hda1" or unknown-block(0,0)
>> Please append a correct "root=" boot option
>> Kernel panic - not syncing: VFS: Unable to mount root fs on 
>> unknown-block(0,0)
>>
>>
>>
>> I have another net5501, and had no problem booting that one with no USB key 
>> disk.
>>
>> What gives?
>>
>> Is the image corrupt?  I burned the CF on a PC running Vista with 
>> "physdiskwrite" (0.5.1) and an Ativa external 5-in-1 USB memory 
>> reader/writer.
>>
>> I could go to an earlier image and see if that crashes as well...
>>
>> Actually, I booted an earlier image and it booted fine.  Well, almost fine.  
>> The image built on Sep 17 says:
>>
>> ...
>> geode-aes: GEODE AES engine enabled.
>> AMD Geode RNG detected
>> Checking /dev/hda1
>> Something else is wrong with /dev/hda1 - run e2fsck manually.
>> Checking /dev/sda1
>> Something else is wrong with /dev/sda1 - run e2fsck manually.
>> going to runlevel default...
>> PPP generic driver version 2.4.2
>> HDLC support module revision 1.20
>> ...
>>
>> but if I login and fsck manually, everything looks fine.
>>
>> So from what I can tell, is some recent change to "trunk" made the one and 
>> only CF slot on the net5501 come up as /dev/hdb, instead of /dev/hda (which 
>> it's expecting).
>>
>> Which also begs the question, what is coming up at /dev/hda in that case????
>>
>> -Philip
>>
>>     
>
> Phillip,
>
>   This one is actually pretty simple...  It looks like your flash card
> has some poorly implemented IDE emulation.  Let me guess, Lexar?  I
> have had a lot of these problems with Lexar.
>
>   You have two options - use different flash, or modify your kernel
> command line to specify /dev/hdb1 as your root filesystem.
>
>   

Ok, so...  can we change:

target/device/net5501/target_skeleton/boot/grub/grub.conf

to include:

title AstLinux (Boot from CF - Use USB KeyDisk & broken root IDE emulation)
        root (hd0,0)
        kernel /boot/bzImage root=/dev/hdb1 console=ttyS0,19200n8 
astlinux=net5501 astkd=/dev/sda1 ide=nodma

as a third choice?


where does target/device/net5501/target_skeleton get unpacked from anyway?

-Philip



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to