Re: kernel 2.6.32-5-parisc64 doesn't boot
On Wed, Sep 22, 2010 at 02:09:11PM +1200, Michal Ludvig wrote: On 06/23/2010 05:47 PM, Michal Ludvig wrote: Hi all, After recent dist-upgrade in Squeeze my HP9000 RP3410 no longer boots. I can still boot the previous linux-image 2.6.32-3-parisc64 but the new 2.6.32-5-parisc64 never finished booting. It looks like it reboots during USB enumeration or somewhere there: [...] Hi again, following up on my 3 months report... With a bunch of recompiles I have managed to pin down the cause: -CONFIG_PATA_CMD64X=m +# CONFIG_PATA_CMD64X is not set Enabling CONFIG_PATA_CMD64X module breaks booting both with 2.6.32.21 and as well with the most recent 2.6.35.4. Is drivers/ata/pata_cmd64x.ko needed for any HPPA systems? Can we perhaps disable it from the kernel config again? I believe cmd64x can be disabled. I don't believe cmd64x PATA is built into any PA-RISC system. cmd680 PATA driver is needed for C8000: http://www.spinics.net/lists/linux-parisc/msg02761.html (More info on C8000 http://www.openpa.net/systems/hp_c8000.html ) At one point, we might have thought c8000 had the same CDM649 PATA controller as it's IA64 cousin, zx2000. They both use zx1 chipset: http://www.mail-archive.com/linux-ker...@vger.kernel.org/msg71934.html But given the lspci output, that doesn't seem to be the case. hth, grant -- To UNSUBSCRIBE, email to debian-hppa-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20100926155403.ga23...@lackof.org
Re: kernel 2.6.32-5-parisc64 doesn't boot
On 06/23/2010 05:47 PM, Michal Ludvig wrote: Hi all, After recent dist-upgrade in Squeeze my HP9000 RP3410 no longer boots. I can still boot the previous linux-image 2.6.32-3-parisc64 but the new 2.6.32-5-parisc64 never finished booting. It looks like it reboots during USB enumeration or somewhere there: [...] Hi again, following up on my 3 months report... With a bunch of recompiles I have managed to pin down the cause: -CONFIG_PATA_CMD64X=m +# CONFIG_PATA_CMD64X is not set Enabling CONFIG_PATA_CMD64X module breaks booting both with 2.6.32.21 and as well with the most recent 2.6.35.4. Is drivers/ata/pata_cmd64x.ko needed for any HPPA systems? Can we perhaps disable it from the kernel config again? Michal -- To UNSUBSCRIBE, email to debian-hppa-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c996547.2000...@logix.net.nz
Re: kernel 2.6.32-5-parisc64 doesn't boot
On Wed, Jun 23, 2010 at 05:47:35PM +1200, Michal Ludvig wrote: Hi all, After recent dist-upgrade in Squeeze my HP9000 RP3410 no longer boots. I can still boot the previous linux-image 2.6.32-3-parisc64 but the new 2.6.32-5-parisc64 never finished booting. I just want to confirm that 2.6.34-rc6 booted on my rp3410 (ioz). It looks like it reboots during USB enumeration or somewhere there: In order to track this down, I need to know how to reproduce it. Do you have an USB devices attached? If so, which ones? I'm wondering if USB is a red herring and something else changed. thanks, grant Booting... Boot IO Dependent Code (IODC) revision 1 HARD Booted. palo ipl 1.14 r...@penalosa Wed Oct 8 15:04:37 UTC 2008 Skipping extended partition 6 - beyond reach of IPL Partition Start(MB) End(MB) Id Type 1 1 31 f0 Palo 2 32 156 83 ext2 5 157 33408 83 ext2 PALO(F0) partition contains: 0/vmlinux64 6833698 bytes @ 0x48000 Command line for kernel: 'root=/dev/sdb5 HOME=/ console=ttyS1 palo_kernel=2/vmlinux' Selected kernel: /vmlinux from partition 2 Selected ramdisk: /initrd.img from partition 2 ELF64 executable Entry 0010 first 0010 n 2 Segment 0 load 0010 size 4673536 mediaptr 0x1000 Segment 1 load 005ea730 size 743376 mediaptr 0x476730 Loading ramdisk 11788317 bytes @ 3f4b... Branching to kernel entry point 0x0010. 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 [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 2.6.32-5-parisc64 (Debian 2.6.32-15) (b...@decadent.org.uk) (gcc version 4.3.5 (GCC) ) #1 Tue Jun 1 12:13:09 UTC 2010 [0.00] unwind_init: start = 0x40494000, end = 0x404c1e60, entries = 11750 [0.00] WARNING: Out of order unwind entry! 40495990 and 404959a0 [0.00] WARNING: Out of order unwind entry! 404959a0 and 404959b0 [0.00] FP[0] enabled: Rev 1 Model 20 [0.00] The 64-bit Kernel has started... [0.00] bootconsole [ttyB0] enabled [0.00] Initialized PDC Console for debugging. [0.00] Determining PDC firmware type: 64 bit PAT. [0.00] model 8860 0491 0002 3e3ffb8ecde69d7c 10f0 0008 00b2 00b2 [0.00] vers 0302 [0.00] CPUID vers 20 rev 5 (0x0285) [0.00] capabilities 0x35 [0.00] model 9000/800/rp3410 [0.00] parisc_cache_init: Only equivalent aliasing supported! [0.00] Memory Ranges: [0.00] 0) Start 0x End 0x3fff Size 1024 MB [0.00] 1) Start 0x00404000 End 0x0040ffdf Size 3070 MB [0.00] Total Memory: 4094 MB [0.00] initrd: 7f4b-7ffee01d [0.00] initrd: reserving 3f4b-3ffee01d (mem_max ffe0) [0.00] Built 2 zonelists in Zone order, mobility grouping on. Total pages: 1033735 [0.00] Kernel command line: root=/dev/sdb5 HOME=/ console=ttyS1 palo_kernel=2/vmlinux [0.00] PID hash table entries: 4096 (order: 3, 32768 bytes) [0.00] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [0.00] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [0.00] Memory: 4102144k/4192256k available (2996k kernel code, 89144k reserved, 1519k data, 272k init) [0.00] virtual kernel memory layout: [0.00] vmalloc : 0x8000 - 0x3f00 (1007 MB) [0.00] memory : 0x4000 - 0x00413fe0 (266238 MB) [0.00] .init : 0x4065c000 - 0x406a ( 272 kB) [0.00] .data : 0x403ed080 - 0x40568de0 (1519 kB) [0.00] .text : 0x4010 - 0x403ed080 (2996 kB) [0.00] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=8 [0.00] Hierarchical RCU implementation. [0.00] NR_IRQS:128 [0.00] Console: colour dummy device 160x64 [0.012000] Calibrating delay loop... 1597.44 BogoMIPS (lpj=3194880) [0.108000] Security Framework initialized [0.108000] SELinux: Disabled at boot. [0.108000] Mount-cache hash table entries: 256 [0.108000] Initializing cgroup subsys ns [0.108000] Initializing cgroup subsys cpuacct [0.112000] Initializing cgroup subsys devices [0.116000] Initializing cgroup subsys freezer [0.12] Initializing cgroup subsys net_cls [0.12] devtmpfs: initialized [0.128000] regulator: core version 0.5 [0.128000] NET: Registered protocol family 16 [0.132000] EISA bus registered [0.136000] Searching for devices... [
Re: kernel 2.6.32-5-parisc64 doesn't boot
+linux-parisc (seems like a known kernel issue) On Wed, Jun 23, 2010 at 05:47:35PM +1200, Michal Ludvig wrote: Hi all, After recent dist-upgrade in Squeeze my HP9000 RP3410 no longer boots. I can still boot the previous linux-image 2.6.32-3-parisc64 but the new 2.6.32-5-parisc64 never finished booting. It looks like it reboots during USB enumeration or somewhere there: Hi Michal, I strongly suspect it's the same problem we saw on the C3xxx workstations. Here's the comment in drivers/parisc/sba_iommu.c: if (!is_pdc_pat()) { /* Shutdown the USB controller on Astro-based workstations. ** Once we reprogram the IOMMU, the next DMA performed by ** USB will HPMC the box. USB is only enabled if a ** keyboard is present and found. ** ** With serial console, j6k v5.0 firmware says: ** mem_kbd hpa 0xfee003f8 sba 0x0 pad 0x0 cl_class 0x7 ** ** FIXME: Using GFX+USB console at power up but direct ** linux to serial console is still broken. ** USB could generate DMA so we must reset USB. ** The proper sequence would be: ** o block console output ** o reset USB device ** o reprogram serial port ** o unblock console output */ if (PAGE0-mem_kbd.cl_class == CL_KEYBD) { pdc_io_reset_devices(); } } Could you try to make this code unconditional? (remove !is_pdc_pat() test) If someone have better ideas on how to handle this... I can build kernels and test on a J6000. thanks, grant Booting... Boot IO Dependent Code (IODC) revision 1 HARD Booted. palo ipl 1.14 r...@penalosa Wed Oct 8 15:04:37 UTC 2008 Skipping extended partition 6 - beyond reach of IPL Partition Start(MB) End(MB) Id Type 1 1 31 f0 Palo 2 32 156 83 ext2 5 157 33408 83 ext2 PALO(F0) partition contains: 0/vmlinux64 6833698 bytes @ 0x48000 Command line for kernel: 'root=/dev/sdb5 HOME=/ console=ttyS1 palo_kernel=2/vmlinux' Selected kernel: /vmlinux from partition 2 Selected ramdisk: /initrd.img from partition 2 ELF64 executable Entry 0010 first 0010 n 2 Segment 0 load 0010 size 4673536 mediaptr 0x1000 Segment 1 load 005ea730 size 743376 mediaptr 0x476730 Loading ramdisk 11788317 bytes @ 3f4b... Branching to kernel entry point 0x0010. 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 [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 2.6.32-5-parisc64 (Debian 2.6.32-15) (b...@decadent.org.uk) (gcc version 4.3.5 (GCC) ) #1 Tue Jun 1 12:13:09 UTC 2010 [0.00] unwind_init: start = 0x40494000, end = 0x404c1e60, entries = 11750 [0.00] WARNING: Out of order unwind entry! 40495990 and 404959a0 [0.00] WARNING: Out of order unwind entry! 404959a0 and 404959b0 [0.00] FP[0] enabled: Rev 1 Model 20 [0.00] The 64-bit Kernel has started... [0.00] bootconsole [ttyB0] enabled [0.00] Initialized PDC Console for debugging. [0.00] Determining PDC firmware type: 64 bit PAT. [0.00] model 8860 0491 0002 3e3ffb8ecde69d7c 10f0 0008 00b2 00b2 [0.00] vers 0302 [0.00] CPUID vers 20 rev 5 (0x0285) [0.00] capabilities 0x35 [0.00] model 9000/800/rp3410 [0.00] parisc_cache_init: Only equivalent aliasing supported! [0.00] Memory Ranges: [0.00] 0) Start 0x End 0x3fff Size 1024 MB [0.00] 1) Start 0x00404000 End 0x0040ffdf Size 3070 MB [0.00] Total Memory: 4094 MB [0.00] initrd: 7f4b-7ffee01d [0.00] initrd: reserving 3f4b-3ffee01d (mem_max ffe0) [0.00] Built 2 zonelists in Zone order, mobility grouping on. Total pages: 1033735 [0.00] Kernel command line: root=/dev/sdb5 HOME=/ console=ttyS1 palo_kernel=2/vmlinux [0.00] PID hash table entries: 4096 (order: 3, 32768 bytes) [0.00] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [0.00] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [0.00] Memory: 4102144k/4192256k available (2996k kernel code, 89144k reserved, 1519k data, 272k init) [0.00] virtual kernel memory layout: [0.00] vmalloc : 0x8000 - 0x3f00 (1007 MB) [0.00] memory : 0x4000 -