Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133139 - sys-kernel/hppa-sources-2.6.15.1 kernel panic ( only with SERIAL ).
Summary: sys-kernel/hppa-sources-2.6.15.1 kernel panic ( only with SERIAL ).
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: HPPA Linux
: High major (vote)
Assignee: HPPA Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-12 11:13 UTC by Wlodek Lipert
Modified: 2006-05-13 13:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wlodek Lipert 2006-05-12 11:13:22 UTC
After successful compilation of HPPA 2.6.15.1 kernel and system setup 
( all 64bit ).
Booting into box normally with connected keyboard ( USB ) and monitor all goes fine.
But... When I try to unplug keyboard and drive box from null modem ( serial )
I got kernel panic and all mounted systems become damaged ( booting from cd and
and calling xfs_repair fixes file system ).

And again THIS happens only with serial connection... working with keyboard
goes fine.

 Here what I got:

Booting...
Boot IO Dependent Code (IODC) revision 0


HARD Booted.
palo ipl 1.10 root@hake Mon Feb 13 02:41:48 Local time zone must be set--see zic manual page 2006
Skipping extended partition 5 - beyond reach of IPL

Partition Start(MB) End(MB) Id Type
1               1     133   f0 Palo
2             134     384   83 ext2
3             385    9930   83 ext2

PALO(F0) partition contains:

Information: No console specified on kernel command line. This is normal.
PALO will choose the console currently used by firmware (serial).
Command line for kernel: 'root=/dev/sda3 console=ttyS0 palo_kernel=2/vmlinux-2.6.15.1'
Selected kernel: /vmlinux-2.6.15.1 from partition 2
ELF64 executable
Entry 00100000 first 00100000 n 3
Segment 0 load 00100000 size 3840144 mediaptr 0x1000
Segment 1 load 004ac000 size 353368 mediaptr 0x3ab000
Segment 2 load 00504000 size 245894 mediaptr 0x402000
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.15.1-pa4 (root@livecd) (gcc version 3.4.5 (Gentoo Linux 3.4.5)) #1 Thu May 11 03:32:11 CEST 26FP[0] enabled: Rev 1 Model 16
The 64-bit Kernel has started...
Initialized PDC Console for debugging.
Determining PDC firmware type: System Map.
model 00005cf0 00000481 00000000 00000002 77be6112 100000f0 00000008 000000b2 000000b2
vers  00000301
CPUID vers 17 rev 11 (0x0000022b)
capabilities 0x3
model 9000/785/C3600
Total Memory: 3840 MB
LCD display at fffffff0f05d0008,fffffff0f05d0000 registered
Built 1 zonelists
Kernel command line: root=/dev/sda3 console=ttyS0 palo_kernel=2/vmlinux-2.6.15.1
PID hash table entries: 4096 (order: 12, 131072 bytes)
Console: colour dummy device 160x64
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
Memory: 3932160k available
Mount-cache hash table entries: 256
NET: Registered protocol family 16
Searching for devices...
Found devices:
1. Astro BC Runway Port at 0xfffffffffed00000 [10] { 12, 0x0, 0x582, 0x0000b }
2. Elroy PCI Bridge at 0xfffffffffed30000 [10/0] { 13, 0x0, 0x782, 0x0000a }
3. Elroy PCI Bridge at 0xfffffffffed32000 [10/1] { 13, 0x0, 0x782, 0x0000a }
4. Elroy PCI Bridge at 0xfffffffffed38000 [10/4] { 13, 0x0, 0x782, 0x0000a }
5. Elroy PCI Bridge at 0xfffffffffed3c000 [10/6] { 13, 0x0, 0x782, 0x0000a }
6. Allegro W+ at 0xfffffffffffa0000 [32] { 0, 0x0, 0x5cf, 0x00004 }
7. Memory at 0xfffffffffed10200 [49] { 1, 0x0, 0x09c, 0x00009 }
CPU(s): 1 x PA8600 (PCX-W+) at 552.000000 MHz
Setting cache flush threshold to 249300 (1 CPUs online)
SBA found Astro 2.1 at 0xfffffffffed00000
LBA version TR4.0 (0x5) found at 0xfffffffffed30000
PCI: Enabled native mode for NS87415 (pif=0x8f)
LBA version TR4.0 (0x5) found at 0xfffffffffed32000
LBA version TR4.0 (0x5) found at 0xfffffffffed38000
LBA version TR4.0 (0x5) found at 0xfffffffffed3c000
iosapic: hpa not registered for 0000:03:02.0
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
unwind_init: start = 0x103fd7c0, end = 0x10420100, entries = 8852
Performance monitoring counters enabled for Allegro W+
audit: initializing netlink socket (disabled)
audit(1147352074.650:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
SGI XFS Quota Management subsystem
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered
SuperIO: Found NS87560 Legacy I/O device at 0000:00:0e.1 (IRQ 19)
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
PDC Stable Storage facility v0.22
Soft power switch enabled, polling @ 0xfffffff0f0400804.
STI GSC/PCI core graphics driver Version 0.9a
STI PCI graphic ROM found at fffffffff7000000 (2048 kB), fb at fffffffffa000000 (32 MB)
    id 35acda30-9a02587, conforms to spec rev. 8.0d
    graphics card name: A1262A
sticon: Initializing STI text console.
Console: switching to colour STI console 160x64
stifb: 'A1262A' (id: 0x35acda30) not supported.
Generic RTC Driver v1.07
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
sym0: <896> rev 0x7 at pci 0000:00:0f.0 irq 20
sym0: PA-RISC Firmware, ID 7, Fast-40, SE, parity checking
sym0: SCSI BUS has been reset.
sym0: SCSI BUS mode change from SE to SE.
sym0: SCSI BUS has been reset.
scsi0 : sym-2.2.2
sym1: <896> rev 0x7 at pci 0000:00:0f.1 irq 20
sym1: PA-RISC Firmware, ID 7, Fast-40, LVD, parity checking
sym1: SCSI BUS has been reset.
scsi1 : sym-2.2.2
  Vendor: HP 36.4G  Model: ST336706LC        Rev: HP03
  Type:   Direct-Access                      ANSI SCSI revision: 02
 target1:0:6: tagged command queuing enabled, command queue depth 16.
 target1:0:6: Beginning Domain Validation
 target1:0:6: asynchronous.
 target1:0:6: wide asynchronous.
 target1:0:6: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 31)
 target1:0:6: Domain Validation skipping write tests
 target1:0:6: Ending Domain Validation
SCSI device sda: 71132960 512-byte hdwr sectors (36420 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 71132960 512-byte hdwr sectors (36420 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4 < sda5 >
sd 1:0:6:0: Attached scsi disk sda
usbmon: debugfs is not available
ohci_hcd 0000:00:0e.2: OHCI Host Controller
ohci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:0e.2: irq 1, io mem 0xfffffffff4007000
usb usb1: Product: OHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.15.1-pa4 ohci_hcd
usb usb1: SerialNumber: 0000:00:0e.2
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
mice: PS/2 mouse device common for all mice
oprofile: using timer interrupt.
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 524288 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 524288 bind 65536)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
XFS mounting filesystem sda3
VFS: Mounted root (xfs filesystem) readonly.
Freeing unused kernel memory: 244k freed
      _______________________________
     < Your System ate a SPARC! Gah! >
      -------------------------------
             \   ^__^
              \  (xx)\_______
                 (__)\       )\/\
                  U  ||----w |
                     ||     ||
swapper (pid 1): Breakpoint (code 0)

     YZrvWESTHLNXBCVMcbcbcbcbOGFRQPDI
PSW: 00001000000001001111111100001111 Not tainted
r00-03  0000000000000000 00000000104f7700 00000000102a35a0 ffffffffffffffed
r04-07  00000000104f1f00 000000000800000f 00000000fff5b0c0 0000000000000001
r08-11  0000000000500001 0000000000000802 000f41fa469d4040 0000000010479e00
r12-15  000000003b9aca00 00000000ffffffff 0000000000000000 00000000f0400004
r16-19  00000000f00008c4 00000000f000017c 00000000f0000174 0000000000040001
r20-23  0000000010492f58 0000000010492f58 00000000103cec70 0000000000000000
r24-27  0000000000000001 00000000fff5b0c0 0000000010535000 00000000104cc340
r28-31  0000000000000000 0000000014704640 0000000014704670 00000000ff8cf430
sr0-3   0000000000000000 0000000000000000 0000000000000000 0000000000000000
sr4-7   0000000000000000 0000000000000000 0000000000000000 0000000000000000

      VZOUICununcqcqcqcqcqcrmunTDVZOUI
FPSR: 00000100000100000000100000000000
FPER1: 24850e06
fr00-03  0000000000000000 0000001f00000000 0000001f00000000 0000001f00000000
fr04-07  0000000000000000 5555555555555555 5555555555555555 5555555555555555
fr08-11  5555555555555555 5555555555555555 5555555555555555 5555555555555555
fr12-15  5555555555555555 5555555555555555 5555555555555555 5555555555555555
fr16-19  5555555555555555 5555555555555555 5555555555555555 5555555555555555
fr20-23  5555555555555555 5555555555555555 000000001a03f064 000000000000246c
fr24-27  00000f9bffffe5fc 5555555555555555 5555555555555555 5555555555555555
fr28-31  5555555555555555 5555555555555555 5555555555555555 5555555555555555

IASQ: 0000000000000000 0000000000000000 IAOQ: 00000000104f0ec0 00000000104f0ec4
 IIR: 00000000    ISR: 0000000000000000  IOR: 0000000000000000
 CPU:        0   CR30: 0000000014704000 CR31: 00000000104b0000
 ORIG_R28: 0000000010161434
 IAOQ[0]: 0x104f0ec0
 IAOQ[1]: 0x104f0ec4
 RP(r2): tty_open+0x318/0x498
Kernel panic - not syncing: Attempted to kill init!
 <3>scheduling while atomic: swapper/0x00000100/1
Backtrace:
 [<000000001010f9a0>] dump_stack+0x18/0x28
 [<000000001010b73c>] schedule+0xa4/0x640
 [<000000001014df90>] flush_cpu_workqueue+0x200/0x240
 [<000000001014e000>] flush_workqueue+0x30/0x70
 [<000000001014e584>] cancel_rearming_delayed_workqueue+0x2c/0x70
 [<0000000010288a68>] lcd_print+0x60/0x210
 [<0000000010289ee8>] process_shutdown+0x38/0x70
 [<0000000010289fb0>] polling_tasklet_func+0x40/0x50
 [<0000000010140580>] tasklet_action+0x70/0x108
 [<0000000010140154>] __do_softirq+0x6c/0xf8
 [<000000001010d08c>] __lock_text_end+0x44/0x58
 [<00000000101402dc>] irq_exit+0x54/0x60
 [<00000000101111bc>] do_cpu_irq_mask+0xcc/0xe8
 [<0000000010104074>] intr_return+0x0/0xc
 [<000000001013d2e0>] do_exit+0xcb8/0xcc0
 [<000000001010fb20>] die_if_kernel+0x170/0x188
Comment 1 Guy Martin (RETIRED) gentoo-dev 2006-05-12 11:50:04 UTC
I think some bugs were fixed in later version.

Could you try with 2.6.16.14-pa11 ?


Comment 2 Wlodek Lipert 2006-05-13 13:17:54 UTC
hppa-sources 2.6.16.14-pa11 fixes the problem.