2.6.0-test1-pa1, fails, to, boot, on, rp2430
pa,
My rp2430 has yet to boot into a usable userspace, it always dies at some point after serial console setup.
Today for fun I reseated everything, added ram upto 1.5GB, and stuck in my PCI Matrox II card into the first PCI slot.
I don't get any further than the end of the output. Any thoughts about PCI problems would be welcome :)
The output is as follows:
---
Command line for kernel: 'console=/dev/ttyS0 root=/dev/sda2 palo_kernel=0/vmlinux64' Selected kernel: /vmlinux64 from partition 0
ELF64 executable
Entry 00100000 first 00100000 n 1
Segment 0 load 00100000 size 4219008 mediaptr 0x1000
Branching to kernel entry point 0x00100000. If this is the last message you see, you may need to switch your console. This is
a common symptom -- search the FAQ and mailing list at parisc-linux.org
Linux version 2.6.0-test1-pa0 (tausq@ios) (gcc version 3.0.4) #112 Tue Jul 15 22:35:45 PDT 2003 FP[0] enabled: Rev 1 Model 19
The 64-bit Kernel has started...
Determining PDC firmware type: 64 bit PAT.
model 00005e20 00000491 00000000 00000001 6dd843ae 100000f0 00000008 000000b2 000000b2 vers 00000203
CPUID vers 19 rev 8 (0x00000268)
capabilities 0x5
model 9000/800/A500-6X
Total Memory: 1536 Mbpagetable_init
On node 0 totalpages: 393216
DMA zone: 393216 pages, LIFO batch:16
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: console=/dev/ttyS0 root=/dev/sda2 palo_kernel=0/vmlinux64 PID hash table entries: 16 (order 4: 256 bytes)
Console: colour dummy device 160x64
Calibrating delay loop... 1294.33 BogoMIPS
Memory: 1534524k available
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
POSIX conformance testing by UNIFIX
Initializing RT netlink socket
Searching for devices...
Found devices:
1. Crescendo 650 W2 (0) at 0xfffffffffffa0000 [160], versions 0x5e2, 0x0, 0x4
2. Astro BC Runway Port (12) at 0xfffffffffed00000 [0], versions 0x582, 0x0, 0xb
3. Elroy PCI Bridge (13) at 0xfffffffffed30000 [0/0], versions 0x782, 0x0, 0xa
4. Elroy PCI Bridge (13) at 0xfffffffffed34000 [0/2], versions 0x782, 0x0, 0xa
5. Elroy PCI Bridge (13) at 0xfffffffffed38000 [0/4], versions 0x782, 0x0, 0xa
6. Elroy PCI Bridge (13) at 0xfffffffffed3c000 [0/6], versions 0x782, 0x0, 0xa
7. Memory (1) at 0xfffffffffed08000 [8], versions 0x9b, 0x0, 0x9
CPU(s): 1 x PA8700 (PCX-W2) at 650.000000 MHz
SBA found Astro 2.1 at 0xfffffffffed00000
lba version TR4.0 (0x5) found at 0xfffffffffed30000
kernel BUG at arch/parisc/kernel/pci.c:338!
Kernel addresses on the stack:
[<000000001010e3d8>] show_trace+0x40/0x110 [<000000001010e224>] dump_stack+0x24/0x38 [<0000000010117d00>] pcibios_register_hba+0x70/0xc8 [<00000000104a3b18>] lba_common_init+0x38/0x68 [<00000000104a3ce4>] lba_driver_callback+0x19c/0x300 [<00000000101c9b88>] sysfs_create_dir+0xa0/0x168 [<0000000010113a10>] parisc_driver_probe+0x48/0x90 [<0000000010280688>] bus_match+0x70/0xb8 [<0000000010280818>] driver_attach+0x98/0xa8 [<0000000010280b68>] bus_add_driver+0xd8/0xf0 [<0000000010112b70>] pdc_pat_get_irt+0x48/0x68 [<0000000010281098>] driver_register+0x48/0x60 [<0000000010113c28>] register_parisc_driver+0x158/0x170 [<00000000104a3e6c>] lba_init+0x24/0x38 [<00000000104965f4>] parisc_init+0x114/0x130 [<000000001049096c>] do_initcalls+0x84/0x120 [<0000000010490a50>] do_basic_setup+0x48/0x78 [<00000000101003b8>] init+0x38/0x238 [<000000001010947c>] ret_from_kernel_thread+0x24/0x38
lba range[2] : ignoring GMMIO (0xfffffff804000000)
PCI: No parent found for region 6 of device 0000:00:00.0 [ffffffffb7f00000:ffffffffb7f3ffff] lba version TR4.0 (0x5) found at 0xfffffffffed34000
kernel BUG at arch/parisc/kernel/pci.c:338!
Kernel addresses on the stack:
[<000000001010e3d8>] show_trace+0x40/0x110 [<000000001010e224>] dump_stack+0x24/0x38 [<0000000010117d00>] pcibios_register_hba+0x70/0xc8 [<00000000104a3b18>] lba_common_init+0x38/0x68 [<00000000104a3ce4>] lba_driver_callback+0x19c/0x300 [<00000000101139b4>] claim_device+0x34/0x48 [<0000000010113a10>] parisc_driver_probe+0x48/0x90 [<0000000010280688>] bus_match+0x70/0xb8 [<0000000010280818>] driver_attach+0x98/0xa8 [<0000000010280b68>] bus_add_driver+0xd8/0xf0 [<0000000010112b70>] pdc_pat_get_irt+0x48/0x68 [<0000000010281098>] driver_register+0x48/0x60 [<0000000010113c28>] register_parisc_driver+0x158/0x170 [<00000000104a3e6c>] lba_init+0x24/0x38 [<00000000104965f4>] parisc_init+0x114/0x130 [<000000001049096c>] do_initcalls+0x84/0x120 [<0000000010490a50>] do_basic_setup+0x48/0x78 [<00000000101003b8>] init+0x38/0x238 [<000000001010947c>] ret_from_kernel_thread+0x24/0x38
lba range[2] : ignoring GMMIO (0xfffffff904000000)
---
c.
Quoted 1 line · Carlos O'Donell
Linux version 2.6.0-test1-pa0 (tausq@ios) (gcc version 3.0.4) #112 Tue Jul 15 22:35:45 PDT 2003
try updating to -pa1 ... the misplaced BUG() is gone.
Signature · 3 lines
"It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Hi pa,
Quoted 2 lines
My rp2430 has yet to boot into a usable userspace, it always dies at some point after serial console setup.
I also encounter a similar pb with my b2k (with 2.6.0-test1-pa1 _32bits_ compiled).
It start to boot:
Command line for kernel: 'root=/dev/sda5 HOME=/ console=ttyS0 TERM=vt102 palo_kernel=3/vmlinux-2.6.0-test1-pa1'
Selected kernel: /vmlinux-2.6.0-test1-pa1 from partition 3 ELF32 executable
Entry 00100260 first 00100000 n 3
Segment 0 load 00100000 size 2526736 mediaptr 0x1000
Segment 1 load 0036a000 size 389364 mediaptr 0x26a000 Segment 2 load 003cc000 size 516223 mediaptr 0x2ca000 Branching to kernel entry point 0x00100260. If this is the last message you see, you may need to switch your console. This is a common symptom -- search the FAQ and mailing list at parisc-linux.org
Linux version 2.6.0-test1-pa1 (root@palx2000) (gcc version 3.3.1 20030626
(Debian prerelease)) #1 Wed Jul 16 16:09:48 CEST 2003
FP[0] enabled: Rev 1 Model 16
The 32-bit Kernel has started...
Determining PDC firmware type: System Map.
model 00005d00 00000481 00000000 00000002 77e93910 100000f0 00000008 000000b2000000b2
vers 00000301
CPUID vers 17 rev 11 (0x0000022b)
capabilities 0x3
model 9000/785/B2000
Total Memory: 256 Mbpagetable_init
On node 0 totalpages: 65536
DMA zone: 65536 pages, LIFO batch:16
Normal zone: 0 pages, LIFO batch:1
HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: root=/dev/sda5 HOME=/ console=ttyS0 TERM=vt102 palo_kernel=3/vmlinux-2.6.0-test1-pa1 PID hash table entries: 16 (order 4: 128 bytes)
Console: colour dummy device 160x64
Calibrating delay loop... 799.53 BogoMIPS
Memory: 255656k available
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
POSIX conformance testing by UNIFIX
Initializing RT netlink socket
EISA bus registered
Searching for devices...
Found devices:
1. Astro BC Runway Port (12) at 0xfed00000 [10], versions 0x582, 0x0, 0xb
2. Elroy PCI Bridge (13) at 0xfed30000 [10/0], versions 0x782, 0x0, 0xa
3. Elroy PCI Bridge (13) at 0xfed32000 [10/1], versions 0x782, 0x0, 0xa
4. Kazoo W+ (0) at 0xfffa0000 [32], versions 0x5d0, 0x0, 0x4
5. Memory (1) at 0xfed10200 [49], versions 0x9d, 0x0, 0x9
CPU(s): 1 x PA8600 (PCX-W+) at 400.000000 MHz
SBA found Astro 2.1 at 0xfed00000
lba version TR4.0 (0x5) found at 0xfed30000
PCI: Ignoring BAR0-3 of IDE controller 0000:00:0e.0
lba version TR4.0 (0x5) found at 0xfed32000
BIO: pool of 256 setup, 14Kb (56 bytes/bio)
biovec pool[0]: 1 bvecs: 256 entries (12 bytes)
biovec pool[1]: 4 bvecs: 256 entries (48 bytes)
biovec pool[2]: 16 bvecs: 256 entries (192 bytes)
biovec pool[3]: 64 bvecs: 256 entries (768 bytes)
biovec pool[4]: 128 bvecs: 256 entries (1536 bytes)
biovec pool[5]: 256 bvecs: 256 entries (3072 bytes)
SCSI subsystem initializeddrivers/usb/core/usb.c: registered new driver hub
pty: 256 Unix98 ptys configured
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 [email protected]).
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing enabled
SuperIO: Found NS87560 Legacy I/O device at 0000:00:0e.1 (IRQ 64)
SuperIO: Serial port 1 at 0x3f8
SuperIO: Serial port 2 at 0x2f8
SuperIO: Parallel port at 0x378
SuperIO: Floppy controller at 0x3f0
SuperIO: ACPI at 0x7e0
SuperIO: USB regulator enabled
parport0: PC-style at 0x378, irq 101 [PCSPP(,...)]
ttyS0 at I/O 0x3f8 (irq = 99) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 100) is a 16550A
Soft power switch enabled, polling @ 0xf0400804.
lp0: using parport0 (interrupt-driven).
Generic RTC Driver v1.07
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) airo: Probing for PCI adapters airo: Finished probing for PCI adapters Linux Tulip driver version 1.1.13 (May 11, 2002) tulip0: no phy info, aborting mtable build tulip0: MII transceiver #1 config 1000 status 782d advertising 01e1. eth0: Digital DS21143 Tulip rev 65 at 0xf00, 00:30:D3:01:5A:3B, IRQ 66. tulip1: EEPROM default media type Autosense. tulip1: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block. tulip1: MII transceiver #1 config 3100 status 7849 advertising 0101. eth1: Digital DS21143 Tulip rev 65 at 0x12100, 00:30:6E:06:23:D0, IRQ 130. sym0: <875> rev 0x26 on pci bus 1 device 3 function 0 irq 131 sym0: No NVRAM, ID 7, Fast-20, SE, parity checking sym0: SCSI BUS has been reset. sym1: <895a> rev 0x1 on pci bus 0 device 15 function 0 irq 65 sym1: No NVRAM, ID 7, Fast-40, LVD, parity checking sym1: SCSI BUS has been reset. scsi0 : sym-2.1.16a
anticipatory scheduling elevator
scsi1 : sym-2.1.16a
Vendor: QUANTUM Model: ATLAS5-9LVD Rev: HP04
Type: Direct-Access ANSI SCSI revision: 03
sym1:5:0: tagged command queuing enabled, command queue depth 16.
Vendor: SEAGATE Model: ST336704LC Rev: HP03
Type: Direct-Access ANSI SCSI revision: 03
sym1:6:0: tagged command queuing enabled, command queue depth 16.
st: Version 20030622, fixed bufsize 32768, s/g segs 256 sym1:5: FAST-40 WIDE SCSI 80.0 MB/s ST (25.0 ns, offset 31) SCSI device sda: 17773524 512-byte hdwr sectors (9100 MB) SCSI device sda: drive cache: write back
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 >
Attached scsi disk sda at scsi1, channel 0, id 5, lun 0 sym1:6: FAST-40 WIDE SCSI 80.0 MB/s ST (25.0 ns, offset 31) SCSI device sdb: 71132960 512-byte hdwr sectors (36420 MB) SCSI device sdb: drive cache: write through
sdb: sdb1
Attached scsi disk sdb at scsi1, channel 0, id 6, lun 0 Attached scsi generic sg0 at scsi1, channel 0, id 5, lun 0, type 0 Attached scsi generic sg1 at scsi1, channel 0, id 6, lun 0, type 0 STI GSC/PCI core graphics driver Version 0.9a
STI PCI graphic ROM found at f4940000 (128 kB), fb at fb000000 (16 MB) STI word mode ROM at f4940044, hpa at fb000000
STI id 35acda16-9a02587, conforms to spec rev. 8.0c
STI device: HPA4982A
sticon: Initializing STI text console.
Console: switching to colour STI console 160x64
ohci-hcd 0000:00:0e.2: National Semiconduct USB Controller ohci-hcd 0000:00:0e.2: irq 97, pci mem f4004000
ohci-hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1 ohci-hcd 0000:00:0e.2: Using NSC SuperIO setup
usb usb1: Product: National Semiconduct USB Controller
usb usb1: Manufacturer: Linux 2.6.0-test1-pa1 ohci-hcd
usb usb1: SerialNumber: 0000:00:0e.2
hub 1-0:0: USB hub found
hub 1-0:0: 3 ports detected
HP SDC: No SDC found.
HP SDC MLC: Registering the System Domain Controller's HIL MLC. HP SDC MLC: Request for raw HIL ISR hook denied
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 913.200 MB/sec
8regs_prefetch: 932.000 MB/sec
32regs : 877.200 MB/sec
32regs_prefetch: 867.200 MB/sec
raid5: using function: 8regs_prefetch (932.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
oprofile: using timer interrupt.
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 508k freed
Adding 250872k swap on /dev/sda2. Priority:-1 extents:1
Here it hangs. (just in case, i tried a telnet but no success)
I so do a toc.
Unfortunately the IAOQ = 0x00000000000172b8 is not a relevant value?
On the other hand when I reboot with a working 2.4 kernel I noticed that only some fs were already mounted during the boot with 2.6:
[...]
Freeing unused kernel memory: 242k freed
INIT: version 2.85 booLoading /etc/console/boottime.kmap.gz Activating swap.
Adding Swap: 250872k swap-space (priority -1)
Checking root file system...
fsck 1.34-WIP (21-May-2003)/dev/sda5 was not cleanly unmounted, check forced./dev/sda5: [...=======================| 100.0%/dev/sda5: 54062/203008 files (2.7% non-contiguous), 256055/406012 blocks
modprobe: modprobe: Can't locate module char-major-10-135
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method. System time was Thu Jul 17 14:52:05 UTC 2003.
Setting the System Clock using the Hardware Clock as reference...
modprobe: modprobe: Can't locate module char-major-10-135
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
modprobe: modprobe: Can't locate module char-major-10-135
System Clock set. System local time is now Thu Jul 17 14:52:05 UTC 2003. Calculating module dependencies... done.
Loading modules:
Checking all file systems...
fsck 1.34-WIP (21-May-2003)/dev/sda3 was not cleanly unmounted, check forced./dev/sda3: [...]======================| 100.0%/dev/sda3: 28/15616 files (35.7% non-contiguous), 31760/62464 blocks /dev/sda6 was not cleanly unmounted, check forced./dev/sda6: [...]======================| 100.0%/dev/sda6: 5112/62496 files (4.6% non-contiguous), 114738/249840 blocks /dev/sda7 was not cleanly unmounted, check forced./dev/sda7: [...]======================| 100.0%/dev/sda7: 14/31232 files (0.0% non-contiguous), 3965/124912 blocks /dev/sda8: clean, 132/31232 files, 11041/124912 blocks/dev/sda9: clean, 109247/250368 files, 465650/499964 blocks /dev/sda10: clean, 5352/250368 files, 429756/499964 blocks /dev/sda11: clean, 47353/250368 files, 239067/499964 blocks
[...]
[sda5==/; sda3==/boot; sda6==/var; sda7==/tmp; sda8==/home; sda9==/usr/src;...]
hth,
Joel
------------------------------------------------------
Soldes Tiscali ADSL : 27,50 euros/mois jusque fin 2003. On s'habitue vite à payer son ADSL moins cher!
Plus d'info? Cliquez ici... http://reg.tiscali.be/default.asp?lg=fr
Quoted 8 lines
Freeing unused kernel memory: 508k freed
Adding 250872k swap on/dev/sda2. Priority:-1 extents:1Here it hangs. (just in case, i tried a telnet but no success)
I so do a toc.
Unfortunately the IAOQ =
0x00000000000172b8is not a relevant value?
looks like a userspace address....
can you boot the kernel with init=/bin/sh and see what happens? can you disable your swap partition (comment it out of /etc/fstab) and see what happens?
thx
randolph
Signature · 3 lines
Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/
Quoted 10 lines · Randolph Chung
Quoted 8 lines
Freeing unused kernel memory: 508k freed
Adding 250872k swap on/dev/sda2. Priority:-1 extents:1Here it hangs. (just in case, i tried a telnet but no success)
I so do a toc.
Unfortunately the IAOQ =
0x00000000000172b8is not a relevant value?looks like a userspace address....
Actually, I think it's an address in a module. If it were from userspace, it would have the bottom two bits set.
Unfortunately, I don't seem to have the email you're replying to, so I can't tell if that's true or not. If we could get the 64 bit compile to do kallsyms, that would tell you definitively.
James
Quoted 8 lines
Quoted 1 line
looks like a userspace address....
Actually, I think it's an address in a module. If it were from userspace, it would have the bottom two bits set.
Unfortunately, I don't seem to have the email you're replying to, so I can't tell if that's true or not. If we could get the 64 bit compile to do kallsyms, that would tell you definitively.
you can't really do that here because he's getting the address from TOC output from PDC...
but to rule this out, joel, can you recompile your kernel without modules (everything builtin) and see what happens?
randolph
Signature · 3 lines
Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/
Hi Randolph,
Quoted 2 lines
but to rule this out, joel, can you recompile your kernel without modules (everything builtin) and see what happens?
It is :(
(for those first test I build it with make defconfig and just change sym1 to sym2 which works fine on my b180. And so I just check to be sure # CONFIG_MODULES is not set)
Joel
ps: I am on going to test init=/bin/fs...
------------------------------------------------------
Soldes Tiscali ADSL : 27,50 euros/mois jusque fin 2003. On s'habitue vite à payer son ADSL moins cher!
Plus d'info? Cliquez ici... http://reg.tiscali.be/default.asp?lg=fr
Hello Randolph,
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Freeing unused kernel memory: 508k freed
Adding 250872k swap on
/dev/sda2. Priority:-1 extents:1Here it hangs. (just in case, i tried a telnet but no success)
Quoted 8 lines
Quoted 4 lines
I so do a toc.
Unfortunately the IAOQ =
0x00000000000172b8is no
a relevant value?looks like a userspace address....
can you boot the kernel with init=/bin/sh and see what happens?
Well here it hangs at "Freeing unused kernel memory: 508k freed" but do not mount anything else (still clean when rebooted with 2.4)
Quoted 3 lines
can you
disable your swap partition (comment it out of/etc/fstab) and see what happens?
Same results (even if I used the 2 tips together and even with -s for su mode)
[and always the same IAOQ after TOC]
mm would it help if tomorrow I re-compile it in 64bits and disable CONFIG_KALLSYMS?
Joel
------------------------------------------------------
Soldes Tiscali ADSL : 27,50 euros/mois jusque fin 2003. On s'habitue vite à payer son ADSL moins cher!
Plus d'info? Cliquez ici... http://reg.tiscali.be/default.asp?lg=fr