* udev causes kernel panic when dealing with ata cdrom
@ 2007-09-13 11:06 franklin
2007-09-13 12:43 ` Greg KH
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: franklin @ 2007-09-13 11:06 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
Hi list,
We have a powerpc board which processor is mpc8343, and we have two sata
controller. And we attach a DVD burner to it.
The kernel can recognize this DVD and register this DVD device to scsi
as /dev/sr0. However, After uncompressing ramdisk and starting udev, The
kernel paniced. It seemed to be the udev problem since we tried to remove
udev and make dev node ourself and the DVD worked well. We are using udev-
103 with kernel 2.6.13.
The system error log was attached. I googled but cannot find useful
information. Could anyone please help me and give me a hint? Or, at least
please tell me how to make udev NOT deal with DVD to prevent kernel panic,
and we can mknod ourself.
Thank you very much for your help!
BR,
Franklin <franklin@goodhorse.idv.tw>
[-- Attachment #2: log --]
[-- Type: application/octet-stream, Size: 17156 bytes --]
Linux version 2.6.13.4 (franklin@franklin.everfocus.com.tw) (gcc 版本 4.1.1) #
1 Wed Sep 5 16:17:52 CST 2007
mem_pieces_remove: [299000,29b000)
Built 1 zonelists
Kernel command line: root=/dev/ram rw console=ttyS0,115200
IPIC (128 IRQ sources, 8 External IRQs) at fe000700 (0x00000000)
PID hash table entries: 2048 (order: 11, 32768 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 251776k available (2052k kernel code, 508k data, 100k init, 0k highmem)
Mount-cache hash table entries: 512
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 4929k freed (cfada000 - cffaa49c)
NET: Registered protocol family 16
PCI: Probing PCI hardware - <4294669792>
PCI: Bus#0, Slot#0, IDSEL#0, Pin#1
PCI: Bus#0, Slot#14, IDSEL#14, Pin#1
PCI: Bus#0, Slot#15, IDSEL#15, Pin#1
PCI: Bus#0, Slot#16, IDSEL#16, Pin#1
PCI: Bus#0, Slot#17, IDSEL#17, Pin#1
PCI: Cannot allocate resource region 0 of device 0000:00:00.0
PCI: Cannot allocate resource region 2 of device 0000:00:00.0
PCI: Failed to allocate mem resource #2:80000000@0 for 0000:00:00.0
SCSI subsystem initialized - <4294669798>
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
ttyS0 at MMIO 0xe0004500 (irq = 9) is a 16550A
ttyS1 at MMIO 0xe0004600 (irq = 10) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize - <429467
0086>
loop: loaded (max 8 devices)
eth0: Gianfar Ethernet Controller Version 1.1, 00:e0:0c:00:8c:01
eth0: Running with NAPI enabled
eth0: 256/256 RX/TX BD ring size
eth1: Gianfar Ethernet Controller Version 1.1, 00:e0:0c:00:8c:02
eth1: Running with NAPI enabled
eth1: 256/256 RX/TX BD ring size
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
NET: Registered protocol family 24
(ivy)scsi_module.c--->init_this_scsi_driver
PROMISE SATA-II 150/300 Series Linux Driver v1.01.0.22
ulsata2:[info] Drive 9/0: ST3320620SV 625142447s 320073MB UDMA6
ulsata2:[info] Drive11/0: ST3320620SV 625142447s 320073MB UDMA6
ulsata2:[info] Drive13/0: PIONEER DVD-RW DVR-K0 UDMA2
scsi0 : ulsata2
scsi1 : ulsata2
Vendor: Model: ST3320620SV Rev:
Type: Direct-Access ANSI SCSI revision: 02
Vendor: Model: ST3320620SV Rev:
Type: Direct-Access ANSI SCSI revision: 02
Vendor: PIONEER Model: DVD-RW DVR-K06RS Rev: 1.01
Type: CD-ROM ANSI SCSI revision: 02
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 625142448 512-byte hdwr sectors (320073 MB)
SCSI device sda: drive cache: write back
sda: unknown partition table
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
SCSI device sdb: drive cache: write back
SCSI device sdb: 625142448 512-byte hdwr sectors (320073 MB)
SCSI device sdb: drive cache: write back
sdb: unknown partition table
Attached scsi disk sdb at scsi1, channel 0, id 2, lun 0
sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda caddy
Uniform CD-ROM driver Revision: 3.20
Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0
Attached scsi generic sg1 at scsi1, channel 0, id 2, lun 0, type 0
Attached scsi generic sg2 at scsi1, channel 0, id 4, lun 0, type 5
init_magic_mtd: chip probing count 0
magic0: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
magic0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
init_magic_mtd: bank1, name:magic0, size:8388608bytes
magic flash0: Using Static image partition definition
Creating 6 MTD partitions on "magic0":
0x00000000-0x00040000 : "boot"
0x00040000-0x00050000 : "environment"
0x00050000-0x00060000 : "config"
0x00060000-0x00200000 : "kernel"
0x00200000-0x00700000 : "initrd"
0x00700000-0x00800000 : "storgae"
driver fsl-usb2-dr, $Revision: 1.11 $
fsl-usb2-dr fsl-usb2-dr.1: new USB bus registered, assigned bus number 1
fsl-usb2-dr fsl-usb2-dr.1: park 0
fsl-usb2-dr fsl-usb2-dr.1: USB 0.0 initialized, EHCI 1.00, driver $Revision: 1.1
1 $
usb usb1: Product: fsl usb20
usb usb1: Manufacturer: Linux 2.6.13.4 fsl-usb2-dr
usb usb1: SerialNumber: fsl-usb2-dr.1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v2.3
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using fsl-usb2-dr and address 2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
24c64: EEPROM driver $Revision$ initializing
lm92: Found National Semiconductor LM92 chip
lm92: Found National Semiconductor LM92 chip
lm92: Found National Semiconductor LM92 chip
lm92: Found National Semiconductor LM92 chip
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0 - <4294672861>
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 100k init - <4294676037>
grep: /proc/mounts: No such file or directory
grep: /proc/mounts: No such file or directory
Populating /dev using udev: /etc/rc.d/init.d/udev: /etc/rc.d/init.d/udev: 80: ca
nnot create /proc/sys/kernel/hotplug: Directory nonexistent
udevd[698]: main: error disabling OOM: No such file or directory
Oops: kernel access of bad area, sig: 11 [#1]
NIP: C000E590 LR: C0128BCC SP: C0267DA0 REGS: c0267cf0 TRAP: 0300 Not tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000000, DSISR: 22000000
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0267DA0 C024CCE8 00000000 CFBDCD64 000000FE FFFFFFFC 00000000
GPR08: 00000000 CFF43E40 CFBDCD60 00000000 C02912B8 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 00000001 CFBA1C00 CFBAAB60 00000001 000000FE 00000010
Call trace: [c0138a10] [c012a83c] [c0032064] [c00321b8] [c00058a0] [c0004a3
c] [c0003568] [c0005b48] [c0003ac4] [c026862c] [000032c4]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#2]
NIP: C000F094 LR: C000F080 SP: C0267BE0 REGS: c0267b30 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 0000007C C0267BE0 C024CCE8 D10C0000 CFE2437C 0FE24000 FCFDF000 00021000
GPR08: CFB91AD8 00000000 CFBBD8E0 00000000 4410C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D10C0000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c000c8e
8] [c0004830] [00000006] [c0138a10] [c012a83c] [c0032064] [c00321b8] [c00
058a0] [c0004a3c] [c0003568]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#3]
NIP: C000F094 LR: C000F080 SP: C0267A40 REGS: c0267990 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0267A40 C024CCE8 D1940000 CFBBF57C 0FBBF000 FCFDF000 00021000
GPR08: CFBBD8F8 00000000 00000000 00000000 4410C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1940000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
0c8e8] [c0004830] [00000006]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#4]
NIP: C000F094 LR: C000F080 SP: C02678A0 REGS: c02677f0 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C02678A0 C024CCE8 D1980000 CFBBF67C 0FBBF000 FCFDF000 00021000
GPR08: CFCC76B8 00000000 00000000 00000000 4410C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1980000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#5]
NIP: C000F094 LR: C000F080 SP: C0267700 REGS: c0267650 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0267700 C024CCE8 D19C0000 CFBBF77C 0FBBF000 FCFDF000 00021000
GPR08: CFBD09B8 00000000 00000000 00000000 4410C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D19C0000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#6]
NIP: C000F094 LR: C000F080 SP: C0267560 REGS: c02674b0 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0267560 C024CCE8 D1A00000 CFBBF87C 0FBBF000 FCFDF000 00021000
GPR08: CFBD0D98 00000000 00000000 00000000 4410C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1A00000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#7]
NIP: C000F094 LR: C000F080 SP: C02673C0 REGS: c0267310 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C02673C0 C024CCE8 D1A40000 CFBBF97C 0FBBF000 FCFDF000 00021000
GPR08: CFCC7958 00000000 00000000 00000000 4410C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1A40000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#8]
NIP: C000F094 LR: C000F080 SP: C0267220 REGS: c0267170 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0267220 C024CCE8 D1A80000 CFBBFA7C 0FBBF000 FCFDF000 00021000
GPR08: CFCC7878 00000000 00000000 00000000 4410C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1A80000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#9]
NIP: C000F094 LR: C000F080 SP: C0267080 REGS: c0266fd0 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0267080 C024CCE8 D1AC0000 CFBBFB7C 0FBBF000 FCFDF000 00021000
GPR08: CFBD0A98 00000000 00000000 00000000 4410C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1AC0000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#10]
NIP: C000F094 LR: C000F080 SP: C0266EE0 REGS: c0266e30 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0266EE0 C024CCE8 D1B00000 CFBBFC7C 0FBBF000 FCFDF000 00021000
GPR08: CFBD0A78 00000000 00000000 00000000 4210C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1B00000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#11]
NIP: C000F094 LR: C000F080 SP: C0266D40 REGS: c0266c90 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0266D40 C024CCE8 D1B40000 CFBBFD7C 0FBBF000 FCFDF000 00021000
GPR08: CFBD0C18 00000000 00000000 00000000 4210C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1B40000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..Machine check in kernel mode.
Caused by (from SRR1=41030): Transfer error ack signal
Oops: machine check, sig: 7 [#12]
NIP: C000F094 LR: C000F080 SP: C0266BA0 REGS: c0266af0 TRAP: 0200 Not tainted
MSR: 00041030 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0266BA0 C024CCE8 D1B80000 CFBBFE7C 0FBBF000 FCFDF000 00021000
GPR08: CFCC77D8 00000000 00000000 00000000 4210C088 EFEFFFCE 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA1C00
GPR24: C0280000 CFF43E40 C0280000 C0260000 D1B80000 00000001 C0280000 0002BF20
Call trace: [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00049f
0] [c000f094] [c0009918] [c0023888] [c00138d0] [c0017310] [c0004f64] [c00
049f0] [c000f094] [c0009918]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..
[-- Attachment #3: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #4: Type: text/plain, Size: 226 bytes --]
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: udev causes kernel panic when dealing with ata cdrom
2007-09-13 11:06 udev causes kernel panic when dealing with ata cdrom franklin
@ 2007-09-13 12:43 ` Greg KH
2007-09-13 21:06 ` Leisner, Martin
2007-09-13 23:48 ` Franklin
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2007-09-13 12:43 UTC (permalink / raw)
To: linux-hotplug
On Thu, Sep 13, 2007 at 07:06:01PM +0800, franklin wrote:
> Hi list,
>
> We have a powerpc board which processor is mpc8343, and we have two sata
> controller. And we attach a DVD burner to it.
>
> The kernel can recognize this DVD and register this DVD device to scsi
> as /dev/sr0. However, After uncompressing ramdisk and starting udev, The
> kernel paniced. It seemed to be the udev problem since we tried to remove
> udev and make dev node ourself and the DVD worked well. We are using udev-
> 103 with kernel 2.6.13.
I do not see udev causing this error, perhaps you are loading a kernel
module that you do not expect to be? You need to decode those oops
symbols before you can get a real picture of what is happening here.
Oh, and 2.6.13 is about 2 1/2 years old, you might want to use a newer
kernel version, trying to use a newer version of udev with such an old
kernel version is not supported by anyone and you will be very lucky if
it works at all.
good luck,
greg k-h
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: udev causes kernel panic when dealing with ata cdrom
2007-09-13 11:06 udev causes kernel panic when dealing with ata cdrom franklin
2007-09-13 12:43 ` Greg KH
@ 2007-09-13 21:06 ` Leisner, Martin
2007-09-13 23:48 ` Franklin
2 siblings, 0 replies; 4+ messages in thread
From: Leisner, Martin @ 2007-09-13 21:06 UTC (permalink / raw)
To: linux-hotplug
> -----Original Message-----
> From: linux-hotplug-devel-bounces@lists.sourceforge.net
> [mailto:linux-hotplug-devel-bounces@lists.sourceforge.net] On
> Behalf Of franklin
> Sent: Thursday, September 13, 2007 7:06 AM
> To: linux-hotplug-devel@lists.sourceforge.net
> Subject: udev causes kernel panic when dealing with ata cdrom
>
> Hi list,
>
> We have a powerpc board which processor is mpc8343, and we
> have two sata
> controller. And we attach a DVD burner to it.
>
> The kernel can recognize this DVD and register this DVD
> device to scsi
> as /dev/sr0. However, After uncompressing ramdisk and
> starting udev, The
> kernel paniced. It seemed to be the udev problem since we
> tried to remove
> udev and make dev node ourself and the DVD worked well. We
> are using udev-
> 103 with kernel 2.6.13.
>
> The system error log was attached. I googled but cannot find useful
> information. Could anyone please help me and give me a hint?
> Or, at least
> please tell me how to make udev NOT deal with DVD to prevent
> kernel panic,
> and we can mknod ourself.
>
> Thank you very much for your help!
>
>
> BR,
> Franklin <franklin@goodhorse.idv.tw>
>
>
It looks like /proc may not be mounted...does this system work when you
unplug the dvd and doesn't
work when you plug it in?
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 100k init - <4294676037>
grep: /proc/mounts: No such file or directory
grep: /proc/mounts: No such file or directory
Populating /dev using udev: /etc/rc.d/init.d/udev:
/etc/rc.d/init.d/udev: 80: ca
nnot create /proc/sys/kernel/hotplug: Directory nonexistent
udevd[698]: main: error disabling OOM: No such file or direct
marty
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: udev causes kernel panic when dealing with ata cdrom
2007-09-13 11:06 udev causes kernel panic when dealing with ata cdrom franklin
2007-09-13 12:43 ` Greg KH
2007-09-13 21:06 ` Leisner, Martin
@ 2007-09-13 23:48 ` Franklin
2 siblings, 0 replies; 4+ messages in thread
From: Franklin @ 2007-09-13 23:48 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1.1: Type: text/plain, Size: 1904 bytes --]
Thank you for all your response.
Leisner, Martin's messages:
> It looks like /proc may not be mounted...does this system work when you
> unplug the dvd and doesn't
> work when you plug it in?
Yes, this system works when the DVD not plugged in, and failed otherwise.
I adjusted the boot sequence to mount proc filesystem before starting udev.
However the problem was still there.
RAMDISK: Compressed image found at block 0 - <4294672871>
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 100k init - <4294676047>
Mounting proc file systems...
Starting udev...
Populating /dev using udev: Oops: kernel access of bad area, sig: 11 [#1]
NIP: C000E590 LR: C0128BCC SP: C0267DA0 REGS: c0267cf0 TRAP: 0300 Not
tainted
MSR: 00001032 EE: 0 PR: 0 FP: 0 ME: 1 IR/DR: 11
DAR: 00000000, DSISR: 22000000
TASK = c024cce8[0] 'swapper' THREAD: c0266000
Last syscall: 120
GPR00: 00000000 C0267DA0 C024CCE8 00000000 CFBD8D64 000000FE FFFFFFFC 00000000
GPR08: 00000000 CFF42E40 CFBD8D60 00000000 C02912B8 E7AFFBEB 00000004 C0290208
GPR16: 00000002 C0280000 00000001 C02901E2 C0294C80 C0281660 00000001 CFBA0A00
GPR24: C0280000 CFF42E40 00000001 CFBA0A00 CFBA9B60 00000001 000000FE 00000010
Call trace: [c0138a10] [c012a83c] [c0032064] [c00321b8] [c00058a0]
[c0004a3c] [c0003568] [c0005b48] [c0003ac4] [c026862c] [000032c4]
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..
Kernel panic - not syncing: Aiee, killing interrupt handler!
<0>Rebooting in 180 seconds..
I attached the gzip'd system map file. It seemed to be a memcpy fail
(c000e590) when accepting interrupt from my sata driver.
I'm still working on it. Could you please tell me how to ``disable'' udev
from probing my DVD so that I can make node myself?
Thank you for your reply!
BR,
Franklin <franklin@goodhorse.idv.tw>
[-- Attachment #1.1.2: System.map.gz --]
[-- Type: application/x-gzip, Size: 131000 bytes --]
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 228 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-09-13 23:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-13 11:06 udev causes kernel panic when dealing with ata cdrom franklin
2007-09-13 12:43 ` Greg KH
2007-09-13 21:06 ` Leisner, Martin
2007-09-13 23:48 ` Franklin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).