Skip to contentSkip to conversation

Bug report: 2.6.15 crash when accessing nbd on a 712.

parisc-linux Vincent Stehlé 3 participants 6 messages Mar 6, 2006 – Mar 11, 2006

lore
Share & tools
lore
#0 lore raw

Hi!

I have a 712 workstation at home and try to make it a diskless debian station.

I have other diskless machines where I do swap over nbd without problem (debian 2.6.15). I tried the same on the hp, but accessing /dev/nb0 results in a crash.

I tried to have nbd in module or not, but this does not change anything.

I do not have the skills to go any further but do a bug report. If you need more informations just ask, I'd be glad to provide them.

Thanks in advance for any help.

Best regards,

-- Vincent Stehlé

--- BUG REPORT ---

# Version of the kernel you are running (output of the uname -a command)

Linux hp 2.6.15.060305 #3 Mon Mar 6 00:32:17 CET 2006 parisc GNU/Linux

# What compiler and linker did you use to build the kernel? (gcc 3.0.4? 3.2? What version of binutils? Are you cross-compiling?)

vincent@hp:vincent$ gcc -v
Reading specs from /usr/lib/gcc-lib/hppa-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-sjlj-exceptions --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc hppa-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)

# What machine you are booting the kernel on? (712/80? B132L? C3000?)

712/100

# Does it have a remote management card?

I don't know.

# Are you trying to use serial console or graphics console?

Serial console @9600 baud. Works fine.

# What kernel command line is palo using?

--commandline=0/vmlinux HOME=/ root=/dev/nfs nfsroot=/hp-root ip=::::::

# Are you using a 32-bit or 64-bit kernel

32-bit.

# Register dumps - Usually, when a parisc-linux kernel crashes (or encounters a problem), a register dump (and/or a stack dump -- especially in 2.6 kernels) will be displayed on the console, or logged to syslog. You should include this information in your bug report.

(see attached hppa-crash.txt)

# The System.map file that corresponds to the kernel you are booting - it's preferable if you can put it someplace and supply a URL for it. If not, please bzip the file before sending it to the list

(see attached System.map-2.6.15.060305.bz2)

# Console output immediately preceding the crash or problem you observed

(see attached hppa-crash.txt)

# If you are not using a default config, the .config you used to build your kernel

(see attached config.bz2)

Signature · 1 line
Vincent Stehlé

Debian GNU/Linux 3.1 hp ttyS0

hp login: i root
Password:
Last login: Thu May 26 21:12:18 2005 on ttyS0
Linux hp 2.6.15.060305 #3 Mon Mar 6 00:32:17 CET 2006 parisc GNU/Linux

The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

hp:~# nbd-client rikiki 12347 /dev/nb0
Negotiation: ..size = 65536KB
bs=1024, sz=65536
hp:~# mk  dd if=/dev/nb0 of=/dev/null
Backtrace:
 [<10159c60>] __blk_queue_bounce+0x200/0x28c
 [<1021e278>] __make_request+0x74/0x53c
 [<1021e8e0>] generic_make_request+0xf8/0x160
 [<1021e9b0>] submit_bio+0x68/0x130
 [<10172f74>] submit_bh+0x10c/0x1b8
 [<10171d78>] block_read_full_page+0x1e0/0x32c
 [<10152784>] read_pages+0xc4/0x164
 [<101528e0>] __do_page_cache_readahead+0xbc/0x1ac
 [<10152b94>] blockable_page_cache_readahead+0x68/0xe0
 [<10152e08>] page_cache_readahead+0x140/0x1a8
 [<1014b37c>] do_generic_mapping_read+0x47c/0x4b4
 [<1014b6c8>] __generic_file_aio_read+0x1ac/0x1cc
 [<1014b7f0>] generic_file_read+0x88/0xb0
 [<1016d804>] vfs_read+0xe0/0x1ac
 [<1016dbfc>] sys_read+0x5c/0xa8
 [<1010d114>] syscall_exit+0x0/0x14

Kernel Fault: Code=26 regs=16b249c0 (Addr=0000000c)

YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00000000000001101111111100001111 Not tainted

r00-03  00000000 10231000 10159c60 00011210
r04-07  00000000 00011200 00000000 10549720
r08-11  16b24818 00000000 1070d4c0 103fe010
r12-15  00000000 10000000 103fe010 101768bc
r16-19  16b242c8 1052f0a0 00000001 ffffffaf
r20-23  10173734 1054b390 1054b39c 00000000
r24-27  00000000 00000010 00000000 10359010
r28-31  10549720 00000000 16b249c0 1014e0e0
sr0-3   00000000 00000000 00000000 00000116
sr4-7   00000000 00000000 00000000 00000000

VZOUICununcqcqcqcqcqcrmunTDVZOUI
FPSR: 00001000000000000000000000000000
FPER1: 00000000

fr00-03  0000000000000000 0000000000000000 0000000000000000 0000000000000000
fr04-07  107172c010681874 0000000010182cac 4a5e8e00103f2848 10095aa810369894
fr08-11  0000000300000000 107172c043f02aa9 00000002103f2810 3b9aca0010369b38
fr12-15  103ea810103b3810 103eb0001017cbbc 1036b66c0000000f 1036b66c10429d40
fr16-19  fffffff4103f35e3 103f301010305384 1009009c1030538f 4a5e8e00103f2848
fr20-23  10095aa810369894 10369a081016c97c 3eb0c6f7a0b5ed8d 440cb1830000000a
fr24-27  41d1032c60ec8bca 3fe645e4e69f05ea 412e848000000000 000000084a5e8e00
fr28-31  0000002010526000 000000001016ca9c 0000000000000000 0000000000000000

IASQ: 00000000 00000000 IAOQ: 1014e0cc 1014e0d0
IIR: 0c981099 ISR: 00000000 IOR: 0000000c
CPU: 0 CR30: 16b24000 CR31: 103ac000
ORIG_R28: 1013ee3c
IAOQ[0]: mempool_alloc+0x34/0xfc
IAOQ[1]: mempool_alloc+0x38/0xfc
RP(r2): __blk_queue_bounce+0x200/0x28c

Kernel panic - not syncing: Kernel Fault
 <0>Rebooting in 60 seconds..

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#1 lore raw
Quoted 2 lines · Vincent Stehl?

I tried to have nbd in module or not, but this does not change anything.

Grant and I fixed this a couple weeks ago:
http://cvs.parisc-linux.org/linux-2.6/arch/parisc/mm/init.c?r1=1.22&r2=1.23

Please try a newer kernel, such as this one:
http://cvs.parisc-linux.org/download/linux-2.6/autobuild/712_defconfig/palinux-712-defconfig-2.6.15-pa4_0-2_all.deb

Cheers,
Kyle
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#2 lore raw
Quoted 6 lines · Kyle McMartin
Quoted 2 lines · Vincent Stehl?

I tried to have nbd in module or not, but this does not change anything.

Grant and I fixed this a couple weeks ago:
http://cvs.parisc-linux.org/linux-2.6/arch/parisc/mm/init.c?r1=1.22&r2=1.23

Kyle,
But the 712 doesn't have an IOMMU.
Comment in the diff says:
/* IOMMU is always used to access "high mem" on those boxes
* that can support enough mem that a PCI device couldn't
* directly DMA to any physical addresses.
* ISA DMA support will need to revisit this.
*/

Quoted 2 lines

Please try a newer kernel, such as this one:
http://cvs.parisc-linux.org/download/linux-2.6/autobuild/712_defconfig/palinux-712-defconfig-2.6.15-pa4_0-2_all.deb

Vincent,
In case the newer kernel doesn't take care of it, can you manually copy down a few key lines of the panic: panic reason, IOAQ, top three lines of stack backtrace, gr24, gr25, gr26.

thanks,
grant
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#3 lore raw

Kyle, Grant,

Thank you for your concern. I'll (hopefully) try the kernel you suggest next week-end.

Quoted 3 lines · Grant Grundler

In case the newer kernel doesn't take care of it, can you manually copy down a few key lines of the panic: panic reason, IOAQ, top three lines of stack backtrace, gr24, gr25, gr26.

Certainly,

But don't you prefer the full log, like I attached to my first post? Just wondering...

Best regards,

Signature · 5 lines
Vincent Stehlé
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
#5 lore raw
In reply to Grant Grundler

Kyle, Grant,

I took your -pa4 patch, applied it over the debian 2.6.15 sources, recompiled with nbd and it works fine. I can now swap over nbd.

Thank you very much for your help!

Signature · 5 lines
Vincent Stehlé
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux