[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#378204: marked as done (linux-image-2.6.17-1-486: oops when loading 8250_pnp with output redirected to the serial console)



Your message dated Mon, 3 Aug 2009 19:46:42 +0200
with message-id <20090803174642.GO22735@inutil.org>
and subject line Re: oops when loading 8250_pnp with output redirected
has caused the Debian Bug report #378204,
regarding linux-image-2.6.17-1-486: oops when loading 8250_pnp with output redirected to the serial console
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
378204: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=378204
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-2.6.17-1-486
Version: 2.6.17-3
Severity: normal

Hi !

I get the following oops when the kernel is booting with its output
redirected to serial console :

LILO 22.6.1 Loading
Linux.......................................................................................................
BIOS data check successful
Linux version 2.6.17-1-486 (Debian 2.6.17-3) (waldi@debian.org) (gcc
version 4.1.2 20060708 (prerelease) (Debian 4.1.1-8)) #1 Thu Jul 13
14:04:16 UTC 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
   BIOS-e820: 0000000000100000 - 000000000f800000 (usable)
    BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
    248MB LOWMEM available.
    DMI 2.2 present.
    ACPI: Unable to locate RSDP
    Allocating PCI resources starting at 10000000 (gap:
0f800000:f07f0000)
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux ro root=302 console=tty0
console=ttyS0,115200n8
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 533.440 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 244444k/253952k available (1452k kernel code, 9020k reserved,
558k data, 228k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor
mode... Ok.
Calibrating delay using timer specific routine.. 1068.77 BogoMIPS
(lpj=2137545)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 64K (32 bytes/line)
CPU: Centaur VIA Samuel 2 stepping 03
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 0k freed
checking if image is initramfs... it is
Freeing initrd memory: 4091k freed
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=1
Setting up standard PCI resources
ACPI: Subsystem revision 20060127
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xb00fbda0
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xbdd0, dseg 0xf0000
PnPBIOS: 11 nodes reported by PnP BIOS; 11 recorded by driver
PCI: Probing PCI hardware
PCI: Using IRQ router default [1106/0601] at 0000:00:00.0
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
    MEM window: e0000000-e2ffffff
      PREFETCH window: 10000000-100fffff
      NET: Registered protocol family 2
      IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
      TCP established hash table entries: 8192 (order: 3, 32768 bytes)
      TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
      TCP: Hash tables configured (established 8192 bind 4096)
      TCP reno registered
      audit: initializing netlink socket (disabled)
      audit(1152861071.260:1): initialized
      VFS: Disk quotas dquot_6.5.1
      Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
      Initializing Cryptographic API
      io scheduler noop registered
      io scheduler anticipatory registered (default)
      io scheduler deadline registered
      io scheduler cfq registered
      isapnp: Scanning for PnP cards...
      isapnp: No Plug & Play device found
      Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing
enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
EISA: Probing bus 0 at eisa.0
EISA: Detected 0 cards.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
Freeing unused kernel memory: 228k freed
Loading, please wait...
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
FATAL: Error inserting fan
(/lib/modules/2.6.17-1-486/kernel/drivers/acpi/fan.ko): No such device
FATAL: Error inserting thermal
(/lib/modules/2.6.17-1-486/kernel/drivers/acpi/thermal.ko): No such
device
via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker
eth0: VIA Rhine II at 0x1dc00, 00:40:63:c0:b9:a6, IRQ 11.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link
45e1.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
PCI: VIA IRQ fixup for 0000:00:11.1, from 255 to 0
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8231 (rev 10) IDE UDMA100 controller on pci0000:00:11.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    USB Universal Host Controller Interface driver v3.0
    hda: ST380021A, ATA DISK drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
    0000:00:14.0: 3Com PCI 3c905B Cyclone 100baseTx at c001c000.
    uhci_hcd 0000:00:11.2: UHCI Host Controller
    uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1
    uhci_hcd 0000:00:11.2: irq 10, io base 0x0000d400
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 2 ports detected
    hda: max request size: 128KiB
    hda: 156301488 sectors (80026 MB) w/2048KiB Cache,
CHS=65535/16/63, UDMA(100)
hda: cache flushes not supported
 hda:<6>uhci_hcd 0000:00:11.3: UHCI Host Controller
 uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2
 uhci_hcd 0000:00:11.3: irq 10, io base 0x0000d800
 usb usb2: configuration #1 chosen from 1 choice
 hub 2-0:1.0: USB hub found
 hub 2-0:1.0: 2 ports detected
  hda1 hda2 hda3 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 hda12 >
  Done.
  Begin: Mounting root file system... ...
  Begin: Running /scripts/local-top ...
  Done.
  Begin: Running /scripts/local-premount ...
  Attempting manual resume
  Done.
  kjournald starting.  Commit interval 5 seconds
  EXT3-fs: mounted filesystem with ordered data mode.
  Begin: Running /scripts/local-bottom ...
  Done.
  Done.
  Begin: Running /scripts/init-bottom ...
  Done.
  INIT: version 2.86 booting
  Starting the hotplug events dispatcher: udevd.
  Synthesizing the initial hotplug events...done.
  Waiting for /dev to be fully populated...input: PC Speaker as
/class/input/input0
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA Apollo ProMedia/PLE133Ta chipset
agpgart: AGP aperture is 256M @ 0xd0000000
Real Time Clock Driver v1.12ac
00:0e: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
parport_pc: VIA parallel port disabled in BIOS
NET: Registered protocol family 23
BUG: unable to handle kernel NULL pointer dereference at virtual
address 0000000c
 printing eip:
 b01f40f7
 *pde = 00000000
 Oops: 0000 [#1]
 Modules linked in: via_ircc irda crc_ccitt parport_pc evdev parport
shpchp pci_hotplug vt8231 i2c_isa i2c_viapro psmouse i2c_core 8250_pnp
serio_raw rtc via_agp agpgart pcspkr ext3 jbd ide_generic ide_disk
uhci_hcd 3c59x via82cxxx generic ide_core usbcore via_rhine mii
processor
CPU:    0
EIP:    0060:[<b01f40f7>]    Not tainted VLI
EFLAGS: 00010206   (2.6.17-1-486 #1) 
EIP is at uart_write_room+0x9/0x16
eax: bed0a000   ebx: 00000006   ecx: be8ebf34   edx: 00000000
esi: bed53000   edi: bf02b800   ebp: 00000006   esp: be8ebf18
ds: 007b   es: 007b   ss: 0068
Process S03udev (pid: 1886, threadinfo=be8ea000 task=becbb050)
Stack: b01e87c0 bf02b800 be802d20 bed2f3b4 00000000 becbb050 b011262a
bed53128 
       bed53128 00000006 bed53000 00000006 00000006 b01e666f 00000006
080f6408 
       be802d20 b01e86e0 bed5300c bed533d0 00000000 bed2f3b4 bed2f380
be802d20 
Call Trace:
 <b01e87c0> write_chan+0xe0/0x292  <b011262a>
default_wake_function+0x0/0xc
 <b01e666f> tty_write+0x143/0x1cb  <b01e86e0> write_chan+0x0/0x292
  <b01e6b67> redirected_tty_write+0x0/0x30  <b0145a21>
vfs_write+0xa4/0x144
 <b0145f1f> sys_write+0x3e/0x65  <b0102977> syscall_call+0x7/0xb
 Code: 00 00 74 13 8b 39 89 f0 88 04 17 8b 41 04 40 25 ff 0f 00 00 89
41 04 53 9d 5b 5e 5f c3 e9 bd fe ff ff 8b 80 6c 01 00 00 8b 50 10 <8b>
42 0c 2b 42 08 48 25 ff 0f 00 00 c3 8b 80 6c 01 00 00 8b 50 
EIP: [<b01f40f7>] uart_write_room+0x9/0x16 SS:ESP 0068:be8ebf18

Booting with init=/bin/sh and issuing modprobe 8250_pnp produces a
similar oops :

sh-3.1# modprobe 8250_pnp
00:0e: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
BUG: unable to handle kernel NULL pointer dereference at virtual
address 00000008
 printing eip:
 b01f410d
 *pde = 00000000
 Oops: 0000 [#1]
 Modules linked in: 8250_pnp ext3 jbd ide_generic ide_disk uhci_hcd
via82cxxx generic ide_core usbcore via_rhine 3c59x mii processor
CPU:    0
EIP:    0060:[<b01f410d>]    Not tainted VLI
EFLAGS: 00010246   (2.6.17-1-486 #1) 
EIP is at uart_chars_in_buffer+0x9/0x15
eax: bed0a000   ebx: beeb7000   ecx: b1241e28   edx: 00000000
esi: 7fffffff   edi: b1241e30   ebp: beeb7000   esp: b1241e18
ds: 007b   es: 007b   ss: 0068
Process sh (pid: 1, threadinfo=b1240000 task=b1226a50)
Stack: b01e9ca1 00000000 b1226a50 b011262a beeb7128 beeb7128 beeb700c
beeb7000 
       b1241e6c b01e9da6 00000002 00000000 00000000 000200d0 0000024b
b02b22b0 
       00000000 b02b22b0 b1226a50 00000003 b02bbd14 00000400 00000005
00001cb2 
Call Trace:
 <b01e9ca1> tty_wait_until_sent+0x71/0xb8  <b011262a>
default_wake_function+0x0/0xc
 <b01e9da6> set_termios+0xbe/0x2ef  <b01e9fd7> n_tty_ioctl+0x0/0x401
  <b01e7b86> tty_ioctl+0xa92/0xaf1  <b01025e0>
do_notify_resume+0x4a9/0x56f
 <b0137d5a> do_wp_page+0x48/0x24b  <b0138eab>
__handle_mm_fault+0x5bc/0x656
 <b01e70f4> tty_ioctl+0x0/0xaf1  <b015314f> do_ioctl+0x37/0x42
  <b015333d> vfs_ioctl+0x1e3/0x1f1  <b0153395> sys_ioctl+0x4a/0x61
   <b0102977> syscall_call+0x7/0xb 
   Code: 04 53 9d 5b 5e 5f c3 e9 bd fe ff ff 8b 80 6c 01 00 00 8b 50
10 8b 42 0c 2b 42 08 48 25 ff 0f 00 00 c3 8b 80 6c 01 00 00 8b 50 10
<8b> 42 08 2b 42 0c 25 ff 0f 00 00 c3 56 53 8b 80 6c 01 00 00 8b 
EIP: [<b01f410d>] uart_chars_in_buffer+0x9/0x15 SS:ESP 0068:b1241e18
 <0>Kernel panic - not syncing: Attempted to kill init!

A workaround is to blacklist 8250_pnp in /etc/modprobe.d/blacklist.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-486
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

Versions of packages linux-image-2.6.17-1-486 depends on:
ii  initramfs-tools [linux-initra 0.68b      tools for generating an initramfs
ii  module-init-tools             3.2.2-3    tools for managing Linux kernel mo

linux-image-2.6.17-1-486 recommends no packages.

-- debconf information:
  linux-image-2.6.17-1-486/postinst/depmod-error-2.6.17-1-486: false
  linux-image-2.6.17-1-486/preinst/abort-overwrite-2.6.17-1-486:
  linux-image-2.6.17-1-486/preinst/already-running-this-2.6.17-1-486:
  linux-image-2.6.17-1-486/postinst/create-kimage-link-2.6.17-1-486: true
  linux-image-2.6.17-1-486/postinst/bootloader-error-2.6.17-1-486:
  linux-image-2.6.17-1-486/preinst/lilo-has-ramdisk:
  linux-image-2.6.17-1-486/preinst/elilo-initrd-2.6.17-1-486: true
  linux-image-2.6.17-1-486/preinst/abort-install-2.6.17-1-486:
  linux-image-2.6.17-1-486/postinst/kimage-is-a-directory:
  linux-image-2.6.17-1-486/postinst/old-system-map-link-2.6.17-1-486: true
  linux-image-2.6.17-1-486/preinst/overwriting-modules-2.6.17-1-486: true
  linux-image-2.6.17-1-486/preinst/initrd-2.6.17-1-486:
  linux-image-2.6.17-1-486/prerm/removing-running-kernel-2.6.17-1-486: true
  linux-image-2.6.17-1-486/preinst/failed-to-move-modules-2.6.17-1-486:
* linux-image-2.6.17-1-486/preinst/lilo-initrd-2.6.17-1-486: false
  linux-image-2.6.17-1-486/postinst/depmod-error-initrd-2.6.17-1-486: false
  linux-image-2.6.17-1-486/preinst/bootloader-initrd-2.6.17-1-486: true
  linux-image-2.6.17-1-486/postinst/old-initrd-link-2.6.17-1-486: true
  linux-image-2.6.17-1-486/postinst/bootloader-test-error-2.6.17-1-486:
  linux-image-2.6.17-1-486/postinst/old-dir-initrd-link-2.6.17-1-486: true
  linux-image-2.6.17-1-486/prerm/would-invalidate-boot-loader-2.6.17-1-486: true


--- End Message ---
--- Begin Message ---
On Fri, Dec 26, 2008 at 11:39:05AM +0100, Moritz Muehlenhoff wrote:
> On Wed, Sep 13, 2006 at 06:17:41PM +0200, Florian Boelstler wrote:
> > Can confirm behavior and workaround described by Vincent Bernat.
> > Using linux-source-2.6.17-6 and linux-source-2.6-17-8.
> 
> Does this error still occur with more recent kernel versions?

No further feedback, closing the bug.

Cheers,
        Moritz


--- End Message ---

Reply to: