ml310 kernel2.6 booting problems
Hi
I made an Ace file with my Kernel and load it with the Flash Card.
I made the Initial release CF image on the card and copied my ace file in an folder, from which I boot with the DIP-Switch. If I used
"console=ttyUL0 ,9600 root=/dev/xsysace/disc0/part2 rw "
in the Kernel config booting aborts like this:
----------------------------------------------------------------------------------------------------------------
....
[ 5.715168] 000001c0: 00000000 00000000 00000000 00000000 ................ [ 5.797484] 000001d0: 00000000 00000000 00000000 00000000 ................ [ 5.879741] 000001e0: 00000000 00000000 00000000 00000000 ................ [ 5.962057] 000001f0: 00000000 00000000 00000000 00000000 ................ [ 6.044365] xsysace xsysace.0: capacity: 1000944 sectors [ 6.109986] xsa:<7>xsysace xsysace.0: fsm_state=0, id_req_count=0 [ 6.207902] xsa1 xsa2 [ 6.226842] Xilinx SystemACE device driver, major=254 [ 6.281419] tun: Universal TUN/TAP device driver, 1.6 [ 6.341706] tun: (C) 1999-2004 Max Krasnyansky <[email protected]> [ 6.419485] mice: PS/2 mouse device common for all mice [ 6.478716] TCP cubic registered [ 6.516974] NET: Registered protocol family 1 [ 6.568940] NET: Registered protocol family 17 [ 6.627483] VFS: Cannot open root device "xsysace/disc0/part2" or unknown-block(0,0) [ 6.714743] Please append a correct "root=" boot option; here are the available partitions: [ 6.814732] fe00 500472 xsa (driver?) [ 6.862193] fe01 98248 xsa1 [ 6.902974] fe02 402192 xsa2 [ 6.943603] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 7.042832] Rebooting in 180 seconds..
------------------------------------------------------------------------------------------------------------------------------------
I tried to use this:
"console=ttyUL0 ,9600 root=fe02 rw"
and with this, after making ace-file etc. I get:
-------------------------------------------------------------------------------------------------------
...
[ 5.447429] 00000190: 00000000 00000000 00000000 00000000 ................ [ 5.529734] 000001a0: 00000000 00000000 00000000 00000000 ................ [ 5.612002] 000001b0: 00000000 00000000 00000000 00000000 ................ [ 5.694288] 000001c0: 00000000 00000000 00000000 00000000 ................ [ 5.776594] 000001d0: 00000000 00000000 00000000 00000000 ................ [ 5.858861] 000001e0: 00000000 00000000 00000000 00000000 ................ [ 5.941167] 000001f0: 00000000 00000000 00000000 00000000 ................ [ 6.023453] xsysace xsysace.0: capacity: 1000944 sectors [ 6.090042] xsa:<7>xsysace xsysace.0: fsm_state=0, id_req_count=0 [ 6.186832] xsa1 xsa2 [ 6.205880] Xilinx SystemACE device driver, major=254 [ 6.260331] tun: Universal TUN/TAP device driver, 1.6 [ 6.320626] tun: (C) 1999-2004 Max Krasnyansky <[email protected]> [ 6.398443] mice: PS/2 mouse device common for all mice [ 6.457695] TCP cubic registered [ 6.495755] NET: Registered protocol family 1 [ 6.547840] NET: Registered protocol family 17 [ 12.726608] kjournald starting. Commit interval 5 seconds [ 12.862678] EXT3 FS on xsa2, internal journal [ 12.899229] EXT3-fs: recovery complete. [ 12.982635] EXT3-fs: mounted filesystem with ordered data mode. [ 13.038505] VFS: Mounted root (ext3 filesystem). [ 13.094113] Freeing unused kernel memory: 96k init [ 13.159079] Warning: unable to open an initial console.
-------------------------------------------------------------------------------------------------
what is the Problem here?
What should I consider when I configure the kernel, what when building an rootfs?
Greetings
Joachim
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
Quoted 6 lines · Joachim Meyer
Hi
I made an Ace file with my Kernel and load it with the Flash Card.
I made the Initial release CF image on the card and copied my ace file in an folder, from which I boot with the DIP-Switch. If I used
"console=ttyUL0 ,9600 root=/dev/xsysace/disc0/part2 rw "
try root=/dev/xsa2
Also, the ',9600' is unnecessary with the uartlite.
Quoted 10 lines
I tried to use this:
"console=ttyUL0 ,9600 root=fe02 rw"
and with this, after making ace-file etc. I get:[ 12.862678] EXT3 FS on xsa2, internal journal [ 12.899229] EXT3-fs: recovery complete. [ 12.982635] EXT3-fs: mounted filesystem with ordered data mode. [ 13.038505] VFS: Mounted root (ext3 filesystem). [ 13.094113] Freeing unused kernel memory: 96k init [ 13.159079] Warning: unable to open an initial console.
You're probably missing the /dev/console device file
g.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.
I'm also having some problem with my systemace file system. I'm working with secretlab git, and I try to mount the CF card with xsysace and with xsa, but in both cases it can't mount the rootfs:
Linux/PPC load: console=ttyS0,9600 root=/dev/xsa3 rw :
:
:
[ 2.777706] xsysace xsysace.0: Xilinx SystemACE revision 1.0.12 [ 2.849967] xsysace xsysace.0: capacity: 986320 sectors [ 2.913383] xsa: unknown partition table : : [ 3.398810] Please append a correct "root=" boot option; here are the availa: [ 3.499476] fe00 493160 xsa (driver?) [ 3.547926] Kernel panic - not syncing: VFS: Unable to mount root fs on
unkn)
Does this mean that I have configured incorrectly the file system options in the kernel??
I have read that the solution to this is to change the DOS/FAT/NT Filesystem option to the below configuration:
<*> Second extended fs support
DOS/FAT/NT Filesystems
< > MSDOS fs support
< > VFAT (Windows-95) fs support
< > NTFS file system support
[*] Advanced partition selection
[*] PC BIOS (MSDOS partition tables) support
I've already tested this configuration:
<*> Second extended fs support
DOS/FAT/NT Filesystems
<*> MSDOS fs support
<*> VFAT (Windows-95) fs support
< > NTFS file system support
[] Advanced partition selection
My CF card has the following structure:
Disco /dev/sdc: 521 MB, 521773056 bytes
16 cabezas, 63 sectores/pistas, 1011 cilindros
Unidades = cilindros de 1008 * 512 = 516096 bytes
Disk identifier: 0x00000000
Disposit. Inicio Comienzo Fin Bloques Id Sistema /dev/sdc1 1 400 201568+ 6 FAT16 /dev/sdc2 401 500 50400 82 Linux swap / Solaris /dev/sdc3 501 1011 257544 83 Linux
I'm also wondering if I should use xsysace or xsa, because I have search in the file xsysace.c for the name of the device and It is named as xsysace. Am I right, and should I use xsysace? Or this name isn't related with the /dev file??
$ grep xsysace xsysace.c
.name = "xsysace",
ace_major = register_blkdev(ace_major, "xsysace");
printk(KERN_WARNING "xsysace: register_blkdev() failed\n");
unregister_blkdev(ace_major, "xsysace");I'm going to reformat my CF card and test it,maybe the partition table is corrupted, but fdisk is not saying anything at all.
Thanks
Quoted 37 lines · Grant Likely-2 wrote:
Quoted 7 lines · Joachim Meyer
Hi
I made an Ace file with my Kernel and load it with the Flash Card. I made the Initial release CF image on the card and copied my ace file in an folder, from which I boot with the DIP-Switch.
If I used
"console=ttyUL0 ,9600 root=/dev/xsysace/disc0/part2 rw "try root=/dev/xsa2
Also, the ',9600' is unnecessary with the uartlite.Quoted 10 lines
I tried to use this:
"console=ttyUL0 ,9600 root=fe02 rw"
and with this, after making ace-file etc. I get:[ 12.862678] EXT3 FS on xsa2, internal journal [ 12.899229] EXT3-fs: recovery complete. [ 12.982635] EXT3-fs: mounted filesystem with ordered data mode. [ 13.038505] VFS: Mounted root (ext3 filesystem). [ 13.094113] Freeing unused kernel memory: 96k init [ 13.159079] Warning: unable to open an initial console.You're probably missing the
/dev/consoledevice fileg.
Signature · 6 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Signature · 2 lines
View this message in context: http://www.nabble.com/ml310-kernel2.6-booting-problems-tp14881983p15087192.html Sent from the linuxppc-embedded mailing list archive at Nabble.com.
Quoted 5 lines · greenlean
I'm also having some problem with my systemace file system. I'm working with secretlab git, and I try to mount the CF card with xsysace and with xsa, but in both cases it can't mount the rootfs:
Quoted 7 lines
Linux/PPC load: console=ttyS0,9600 root=/dev/xsa3 rw :
:
:[ 2.777706] xsysace xsysace.0: Xilinx SystemACE revision 1.0.12 [ 2.849967] xsysace xsysace.0: capacity: 986320 sectors [ 2.913383] xsa: unknown partition table
You're definitely not having a filesystem problem; it's a partition table problem. Either the partition table is corrupt or the kernel doesn't understand the type of partition table, or the system ace isn't able to read the CF correctly (hardware problem).
g.
Quoted 107 lines
:
:[ 3.398810] Please append a correct "root=" boot option; here are the availa: [ 3.499476] fe00 493160 xsa (driver?) [ 3.547926] Kernel panic - not syncing: VFS: Unable to mount root fs onunkn)
Does this mean that I have configured incorrectly the file system options in the kernel??
I have read that the solution to this is to change the DOS/FAT/NT Filesystem option to the below configuration:<*> Second extended fs support
DOS/FAT/NT Filesystems
< > MSDOS fs support
< > VFAT (Windows-95) fs support
< > NTFS file system support
[*] Advanced partition selection
[*] PC BIOS (MSDOS partition tables) support
I've already tested this configuration:<*> Second extended fs support
DOS/FAT/NT Filesystems
<*> MSDOS fs support
<*> VFAT (Windows-95) fs support
< > NTFS file system support
[] Advanced partition selectionMy CF card has the following structure:
Disco
/dev/sdc: 521 MB, 521773056 bytes
16 cabezas, 63 sectores/pistas, 1011 cilindros
Unidades = cilindros de 1008 * 512 = 516096 bytes
Disk identifier:0x00000000Disposit. Inicio Comienzo Fin Bloques Id Sistema /dev/sdc1 1 400 201568+ 6 FAT16 /dev/sdc2 401 500 50400 82 Linux swap / Solaris /dev/sdc3 501 1011 257544 83 LinuxI'm also wondering if I should use xsysace or xsa, because I have search in the file
xsysace.cfor the name of the device and It is named as xsysace. Am I right, and should I use xsysace? Or this name isn't related with the /dev file??$ grep xsysace xsysace.c.name = "xsysace", ace_major = register_blkdev(ace_major, "xsysace"); printk(KERN_WARNING "xsysace: register_blkdev() failed\n"); unregister_blkdev(ace_major, "xsysace");I'm going to reformat my CF card and test it,maybe the partition table is corrupted, but fdisk is not saying anything at all.
Thanks
Quoted 28 lines · Grant Likely-2 wrote:
Quoted 7 lines · Joachim Meyer
Hi
I made an Ace file with my Kernel and load it with the Flash Card. I made the Initial release CF image on the card and copied my ace file in an folder, from which I boot with the DIP-Switch.
If I used
"console=ttyUL0 ,9600 root=/dev/xsysace/disc0/part2 rw "try root=/dev/xsa2
Also, the ',9600' is unnecessary with the uartlite.Quoted 10 lines
I tried to use this:
"console=ttyUL0 ,9600 root=fe02 rw"
and with this, after making ace-file etc. I get:[ 12.862678] EXT3 FS on xsa2, internal journal [ 12.899229] EXT3-fs: recovery complete. [ 12.982635] EXT3-fs: mounted filesystem with ordered data mode. [ 13.038505] VFS: Mounted root (ext3 filesystem). [ 13.094113] Freeing unused kernel memory: 96k init [ 13.159079] Warning: unable to open an initial console.You're probably missing the
/dev/consoledevice fileg.
Quoted 9 lines
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded--
View this message in context: http://www.nabble.com/ml310-kernel2.6-booting-problems-tp14881983p15087192.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com._______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.