Skip to contentSkip to conversation

2.4.21 panic on CDRW Mount

DISCUSSION Dave Bentham 2 participants 3 messages Jun 19, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I've now managed to capture the 'panic' output of 2.4.21.

I was running 2.4.20 for quite some time on a Mandrake 9.0 base on a Pentium IV 1.5MHz PC. When 2.4.21 came out I patched the source and upgraded to it as I usually do for kernel upgrades.

However, mounting the CDRW makes it all go crappy and it dies. See attached panic output.

The command was issued on the PC's own attached console, but the output's captured on an attached serial console (command was 'mount /mnt/cdrom2' entered in BASH without starting X, etc).

Thanks

Dave

Signature · 1 line
A computer without Microsoft is like chocolate cake without mustard.

LILO 22.3.2 boot:
Loading Linux_2.4.21................
BIOS data check successful
Linux version 2.4.21 ([email protected]) (gcc version 3.2 (Mandrake Linux 9. 0 3.2-1mdk)) #50 Thu Jun 19 07:51:48 BST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000fff00
BIOS-e820: 000000000fff0000 - 000000000fff3000 (ACPI NVS)
BIOS-e820: 000000000fff3000 - 0000000010000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffb00000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65520
zone(0): 4096 pages.
zone(1): 61424 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux_2.4.21 ro root=303 devfs=mount hdd=ide-scs i console=tty0 console=ttyS0
ide_setup: hdd=ide-scsi
Initializing CPU#0
Detected 1498.113 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 2988.44 BogoMIPS
Memory: 256844k/262080k available (1266k kernel code, 4848k reserved, 462k data,
80k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes) Inode cache hash table entries: 16384 (order: 5, 131072 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 16384 (order: 4, 65536 bytes) Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 256K
CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb190, last bus=2
PCI: Using configuration
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch ([email protected])
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) w
abled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize PPP generic driver version 2.4.2
PPP Deflate Compression module registered
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with i
hda: ST340810A, ATA DISK drive
hdc: LITEON DVD-ROM LTD163, ATAPI CD/DVD-ROM drive
hdd: CW038D ATAPI CD-R/RW, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63
hdc: attached ide-cdrom driver.
hdc: ATAPI 48X DVD-ROM drive, 512kB Cache
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-scsi driver.
Partition check:
/dev/ide/host0/bus0/target0/
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: CyberDrv Model: CW038D CD-R/RW Rev: 110C
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
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.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 80k freed
INIT: version 2.83 booting
Setting default font (lat0-16): [ OK ]

Booting, please wait...

Welcome to Mandrake Linux 9.0
Press 'I' to enter interactive startup.
Running DevFs daemon [ OK ]
Configuring kernel parameters: [ OK ]
Setting clock (utc): Thu Jun 19 16:59:51 BST 2003 [ OK ] Setting hostname telekon.davesnet: [ OK ] Initializing USB controller (usb-uhci): [ OK ] Mount USB filesystem [ OK ]
Loading USB printer [ OK ]
Checking root filesystem
/dev/hda3: clean, 224767/2101152 files, 1419679/4194973 blocks [ OK ]
Remounting root filesystem in read-write mode: [ OK ]

Activating swap partitions:  [  OK  ]                                     
Finding module dependencies:  [  OK  ]                                      
Checking filesystems                    
/dev/hda4: clean, 42024/3478784 files, 1412964/3476064 blocks                                                             
[  OK  ]        
Mounting local filesystems:  [  OK  ]                                     
Checking loopback filesystems[  OK  ]                                     
Mounting loopback filesystems:  [  OK  ]                                        

Loading keymap: uk [ OK ]
Loading compose keys: compose.latin9.inc [ OK ]
The BackSpace key sends: ^?[ OK ]
Turning on user and group quotas for local filesystems: [ OK ] Enabling swap space: [ OK ]
Building Window Manager Sessions [ OK ]
modprobe: modprobe: Can't locate module eth5
modprobe: modprobe: Can't locate
modprobe: modprobe: Can't locate module eth7
INIT: Entering runlevel: 3
Entering non-interactive startup

Starting iptables:  [  OK  ]                            
Setting network parameters:  [  OK  ]                                     
Bringing up loopback interface:  [  OK  ]                                         
Bringing up interface eth0:  [  OK  ]                                     
Bringing up interface eth1:  [  OK  ]                                     
Starting portmapper: [  OK  ]                             
Starting system logger: [  OK  ]                                
Starting kernel logger: [  OK  ]                                
Starting partmon:  [  OK  ]                           
Starting console mouse services: [  OK  ]                                         

Loading sound module (snd-card-0) modprobe: Can't locate module [FAILED]
Initializing random number generator: [ OK ] Starting X Font Server: [ OK ]
Mounting other filesystems: [ OK ]
Starting atd: [ OK ]
Starting saslauthd[ OK ]

Starting sshd:  [  OK  ]                        
Starting xinetd: [  OK  ]                         
Starting cups:  [  OK  ]                        
Starting automount:[  OK  ]                           
Loading keymap: uk [  OK  ]                           

Loading compose keys: compose.latin9.inc [ OK ]
The BackSpace key sends: ^?[ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
Starting numlock: [ OK ]
Checking internet connections to start
Starting crond: [ OK ]
Starting squid: [ OK ]
Starting Webmin [ OK ]

Starting Fetchmail services: [  OK  ]                                     
Starting SMB services: [  OK  ]                               
Starting NMB services: [  OK  ]                               
Starting lisa:  [  OK  ]                        
Starting kheader:  [  OK  ]                           
Starting cups:  [  OK  ]                        
Running devfsd actions:  [  OK  ]                                 
Running Linuxconf hooks:  [  OK  ]                                  
alsactl: load_state:1121: No soundcards found...                                                

Mandrake Linux release 9.0 (dolphin) for i586
Kernel 2.4.21 on an i686 / ttyS0
telekon.davesnet login: root
Password:
Login incorrect

login: Unable to handle kernel NULL pointer dereference at virtual address 00000 000
*pde = 00000000

Oops: 0000          
CPU:    0         
EIP:    0010:[<00000000>]    Not tainted                                        
EFLAGS: 00010202                
eax: c02ecab4   ebx: c02ecca0   ecx: 00000000   edx: 00000170                                                             
esi: cf6f0d60   edi: c12cee80   ebp: cf223a8c   esp: cf223a64                                                             
ds: 0018   es: 0018   ss: 0018                              
Process mount (pid: 2255, stackpage=cf223000)                                             
Stack: c01d8054 c02ecca0 cf6f0d60 0000000c 00000000 000001f4 c12cee80 c02ecca0                                                                              
       00000040 00000000 cf223ac0 c01c21e2 c02ecca0 cf6f0d                                                         
       000001f4 c02ecca0 00000000 00000002 c02ecca0 cff3f260 cf237ea0 cf223ae4                                                                              
Call Trace:    [<c01d8054>] [<c01c21e2>] [<c01c235e>] [<c01c2a2f>] [<c01d8cd4>]                                                                               
  [<c01cd575>] [<c01d2dc0>] [<c01d2b30>] [<c01d4845>] [<c01d2b30>] [<c01d3d35>]                                                                               
  [<c01d3dc9>] [<c01cd6a5>] [<c01ccff0>] [<c01dac15>] [<c01dbe8b>] [<c01d9455>]                                                                               
  [<c01e2c2e>] [<c01e2ca2>] [<c013f45a>] [<c01d9bd8>] [<c01e236a>] [<c01e21c1>]                                                                               
  [<c013abdf>] [<c013f671>] [<c013f6ff>] [<c017d276>] [<c013e17c>] [<c013e583>]                                                                               
  [<c015064d>] [<c0150945>] [<c01507                                   

Code:  Bad EIP value.                     
 <7>IPT INPUT packet died: IN=eth1 OUT= MAC= SRC=80.5.242.41 DST=255.255.255.255                                                                                
 LEN=137 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=117                                                                            

IPT INPUT packet died: IN=eth1 OUT= MAC= SRC=80.5.242.41 DST=255.255.255.255 LEN =149 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=129 Login timed out
Mandrake Linux release 9.0 (dolphin) for i586
Kernel 2.4.21 on an i686 / ttyS0
telekon.davesnet login: scsi : aborting command due to timeout : pid 6, scsi0, c hannel 0, id 0, lun 0 0x43 00 00 00 00 00 00 00 0c 40
Kernel 2.4.21
hdd: irq timeout: status=0xd0 { Busy }

Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
00000000
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<00000000>]    Not tainted
EFLAGS: 00010203
eax: c02ecab4   ebx: c02ecca0   ecx: 00000000   edx: 00000170
esi: cf6f0d60   edi: c12cee80   ebp: c02b3e94   esp: c02b3e6c
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 0, stackpage=c02b3000)
Stack: c01d8054 c02ecca0 cf6f0d60 0000000c 00000000 000001f4 c12cee80 c02ecca0
       00000040 00000000 c02b3ec8 c01c21e2 c02ecca0 cf6f0d60 00000000 00000088
       000001f4 c02b3eec 00000000 00000018 c02ecca0 cff3f260 cf237ea0 c02b3eec
Call Trace:    [<c01d8054>] [<c01c21e2>] [<c01c235e>] [<c01c260c>] [<c01172a0>]
  [<c01c2520>] [<c0122a9b>] [<c01221f6>] [<c011eff2>] [<c011eee6>] [<c011ed16>]
  [<c010a9b0>] [<c0107250>] [<c010d038>] [<c0107250>] [<c0107273>] [<c0107302>]
  [<c0105000>]

Code:  Bad EIP value.
 <0>Kernel panic: Aiee, killing interrupt handler!

In interrupt handler - not syncing

#1 lore raw

Dave Bentham on Thu 19/06 20:21 +0100:

Quoted 1 line

I've now managed to capture the 'panic' output of 2.4.21.

man ksymoops

#2 lore raw

You'll have to pardon my ignorance, but I've never dealt with the murkey depths of kernel bashing before!

I now attach a 'ksymoops' version of my 'panic' output and hopefully it means more to you guys now.

Dave

Quoted 9 lines · On Thu, 19 Jun 2003 15:33:37 -0400 Scott McDermott <[email protected]>…

Dave Bentham on Thu 19/06 20:21 +0100:

Quoted 1 line

I've now managed to capture the 'panic' output of 2.4.21.

man ksymoops
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 1 line
A computer without Microsoft is like chocolate cake without mustard.

ksymoops 2.4.5 on i686 2.4.21. Options used
-v /usr/src/linux/vmlinux (specified)
-k /var/log/ksyms.3 (specified)
-L (specified)
-o /lib/modules/2.4.21/ (default)
-m /boot/System.map (specified)

Unable to handle kernel NULL pointer dereference at virtual address 00000                                                                                
*pde = 00000000               
Oops: 0000          
CPU:    0         
EIP:    0010:[<00000000>]    Not tainted                                        

Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010202
eax: c02ecab4 ebx: c02ecca0 ecx: 00000000 edx: 00000170
esi: cf6f0d60 edi: c12cee80 ebp: cf223a8c esp: cf223a64
ds: 0018 es: 0018 ss: 0018
Process mount (pid: 2255, stackpage=cf223000)

Stack: c01d8054 c02ecca0 cf6f0d60 0000000c 00000000 000001f4 c12cee80 c02ecca0                                                                              
       00000040 00000000 cf223ac0 c01c21e2 c02ecca0 cf6f0d                                                         
       000001f4 c02ecca0 00000000 00000002 c02ecca0 cff3f260 cf237ea0 cf223ae4                                                                              
Call Trace:    [<c01d8054>] [<c01c21e2>] [<c01c235e>] [<c01c2a2f>] [<c01d8cd4>]                                                                               
  [<c01cd575>] [<c01d2dc0>] [<c01d2b30>] [<c01d4845>] [<c01d2b30>] [<c01d3d35>]                                                                               
  [<c01d3dc9>] [<c01cd6a5>] [<c01ccff0>] [<c01dac15>] [<c01dbe8b>] [<c01d9455>]                                                                               
  [<c01e2c2e>] [<c01e2ca2>] [<c013f45a>] [<c01d9bd8>] [<c01e236a>] [<c01e21c1>]                                                                               
  [<c013abdf>] [<c013f671>] [<c013f6ff>] [<c017d276>] [<c013e17c>] [<c013e583>]                                                                               
  [<c015064d>] [<c0150945>] [<c01507                                   
Code:  Bad EIP value.                     
Quoted 8 lines
Quoted 8 lines

EIP; 00000000 Before first symbol

eax; c02ecab4 <ide_hwifs+454/2b48>
ebx; c02ecca0 <ide_hwifs+640/2b48>
esi; cf6f0d60 <_end+f3fe9c8/10511cc8>
edi; c12cee80 <_end+fdcae8/10511cc8>
ebp; cf223a8c <_end+ef316f4/10511cc8>
esp; cf223a64 <_end+ef316cc/10511cc8>

Trace; c01d8054 <idescsi_transfer_pc+124/130>
Trace; c01c21e2 <start_request+192/210>
Trace; c01c235e <ide_do_request+ae/190>
Trace; c01c2a2f <ide_do_drive_cmd+af/100>
Trace; c01d8cd4 <idescsi_queue+194/2a0>
Trace; c01cd575 <scsi_dispatch_cmd+195/260>
Trace; c01d2dc0 <scsi_old_done+0/650>
Trace; c01d2b30 <scsi_old_times_out+0/140>
Trace; c01d4845 <scsi_request_fn+1a5/360>
Trace; c01d2b30 <scsi_old_times_out+0/140>
Trace; c01d3d35 <__scsi_insert_special+55/80>
Trace; c01d3dc9 <scsi_insert_special_req+29/30>
Trace; c01cd6a5 <scsi_wait_req+65/b0>
Trace; c01ccff0 <scsi_wait_done+0/20>
Trace; c01dac15 <sr_do_ioctl+c5/310>
Trace; c01dbe8b <sr_cd_check+1bb/230>
Trace; c01d9455 <sr_media_change+b5/f0>
Trace; c01e2c2e <media_changed+5e/90>
Trace; c01e2ca2 <cdrom_media_changed+42/50>
Trace; c013f45a <check_disk_change+4a/e0>
Trace; c01d9bd8 <sr_open+18/f0>
Trace; c01e236a <open_for_data+12a/350>
Trace; c01e21c1 <cdrom_open+71/f0>
Trace; c013abdf <getblk+4f/60>
Trace; c013f671 <do_open+121/150>
Trace; c013f6ff <blkdev_get+5f/70>
Trace; c017d276 <devfs_get_ops+76/90>
Trace; c013e17c <get_sb_bdev+ec/280>
Trace; c013e583 <do_kern_mount+123/140>
Trace; c015064d <do_add_mount+8d/180>
Trace; c0150945 <do_mount+145/190>

Unable to handle kernel NULL pointer dereference at virtual address 00000000
00000000
*pde = 00000000
Oops: 0000
CPU:    0
EIP:    0010:[<00000000>]    Not tainted
EFLAGS: 00010203
eax: c02ecab4   ebx: c02ecca0   ecx: 00000000   edx: 00000170
esi: cf6f0d60   edi: c12cee80   ebp: c02b3e94   esp: c02b3e6c
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 0, stackpage=c02b3000)
Stack: c01d8054 c02ecca0 cf6f0d60 0000000c 00000000 000001f4 c12cee80 c02ecca0
       00000040 00000000 c02b3ec8 c01c21e2 c02ecca0 cf6f0d60 00000000 00000088
       000001f4 c02b3eec 00000000 00000018 c02ecca0 cff3f260 cf237ea0 c02b3eec
Call Trace:    [<c01d8054>] [<c01c21e2>] [<c01c235e>] [<c01c260c>] [<c01172a0>]
  [<c01c2520>] [<c0122a9b>] [<c01221f6>] [<c011eff2>] [<c011eee6>] [<c011ed16>]
  [<c010a9b0>] [<c0107250>] [<c010d038>] [<c0107250>] [<c0107273>] [<c0107302>]
  [<c0105000>]
Code:  Bad EIP value.
Quoted 8 lines
Quoted 8 lines

EIP; 00000000 Before first symbol

eax; c02ecab4 <ide_hwifs+454/2b48>
ebx; c02ecca0 <ide_hwifs+640/2b48>
esi; cf6f0d60 <_end+f3fe9c8/10511cc8>
edi; c12cee80 <_end+fdcae8/10511cc8>
ebp; c02b3e94 <init_task_union+1e94/2000>
esp; c02b3e6c <init_task_union+1e6c/2000>

Trace; c01d8054 <idescsi_transfer_pc+124/130>
Trace; c01c21e2 <start_request+192/210>
Trace; c01c235e <ide_do_request+ae/190>
Trace; c01c260c <ide_timer_expiry+ec/1c0>
Trace; c01172a0 <process_timeout+0/20>
Trace; c01c2520 <ide_timer_expiry+0/1c0>
Trace; c0122a9b <run_timer_list+10b/170>
Trace; c01221f6 <update_wall_time+16/40>
Trace; c011eff2 <bh_action+22/50>
Trace; c011eee6 <tasklet_hi_action+46/70>
Trace; c011ed16 <do_softirq+a6/b0>
Trace; c010a9b0 <do_IRQ+b0/c0>
Trace; c0107250 <default_idle+0/40>
Trace; c010d038 <call_do_IRQ+5/d>
Trace; c0107250 <default_idle+0/40>
Trace; c0107273 <default_idle+23/40>
Trace; c0107302 <cpu_idle+52/70>
Trace; c0105000 <_stext+0/0>

<0>Kernel panic: Aiee, killing interrupt handler!