Bug 8017

Summary: kernel oops при работе с сидюком
Product: Sisyphus Reporter: Kachalov Anton <mouse>
Component: kernel-image-std26-upAssignee: Sergey Vlasov <vsu>
Status: CLOSED WORKSFORME QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: mike
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on: 6390    
Bug Blocks:    
Attachments:
Description Flags
lsmod output none

Description Kachalov Anton 2005-09-20 10:49:09 MSD
При попытке поработать с /dev/scd0 получил такое:

Sep 20 10:34:20 mouse kernel: cdrom: sr0: mrw address space DMA selected
Sep 20 10:35:32 mouse last message repeated 2 times
Sep 20 10:35:39 mouse kernel: cdrom: sr0: mrw address space DMA selected
Sep 20 10:35:51 mouse kernel: attempt to access beyond end of device
Sep 20 10:35:51 mouse kernel: sr0: rw=0, want=68, limit=4
Sep 20 10:35:51 mouse kernel: isofs_fill_super: bread failed, dev=sr0,
iso_blknum=16, block=16
Sep 20 10:35:51 mouse kernel: attempt to access beyond end of device
Sep 20 10:35:51 mouse kernel: sr0: rw=0, want=68, limit=4
Sep 20 10:35:51 mouse submountd: mount failure, Invalid argument
Sep 20 10:35:51 mouse kernel: attempt to access beyond end of device
...
sr0: rw=0, want=911280, limit=4
attempt to access beyond end of device
sr0: rw=0, want=911056, limit=4
attempt to access beyond end of device
sr0: rw=0, want=1252, limit=4
attempt to access beyond end of device
sr0: rw=0, want=1028, limit=4
UDF-fs: No partition found (1)
subfs: /sbin/submountd unsuccessful attempt to mount media (256)
ide-scsi: unsup command: dev hdc: flags = REQ_CMD REQ_STARTED 
sector 0, nr/cnr 1/1
bio dffda680, biotail dffda680, buffer d3591000, data 00000000, len 0
end_request: I/O error, dev hdc, sector 0
FAT: unable to read boot sector
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
c0198968
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: nls_koi8_r udf isofs kqemu squashfs zlib_inflate vfat fat nls
_base loop nfs snd_pcm_oss snd_mixer_oss snd_maestro3 snd_ac97_codec snd_pcm snd
_timer snd_page_alloc binfmt_misc fglrx nfsd exportfs lockd sunrpc autofs4 optio
n usbserial thermal pcspkr fan snd_mpu401 snd_mpu401_uart snd_rawmidi snd_seq_de
vice snd soundcore parport_pc parport 8250_pnp 8250 serial_core uhci_hcd ehci_hc
d usbcore 8021q 8139too mii subfs reiserfs tsdev evdev dm_mod via_agp agpgart ps
mouse processor button ac sr_mod cdrom battery ide_scsi scsi_mod rtc ext3 jbd mb
cache ide_disk ide_generic via82cxxx ide_core
CPU:    0
EIP:    0060:[<c0198968>]    Tainted: P      VLI
EFLAGS: 00010286   (2.6.12-std26-up-alt4) 
EIP is at get_kobj_path_length+0x18/0x30
eax: 00000000   ebx: 00000000   ecx: ffffffff   edx: df29a090
esi: 00000001   edi: 00000000   ebp: ffffffff   esp: d79b5dd4
ds: 007b   es: 007b   ss: 0068
Process mount (pid: 11125, threadinfo=d79b4000 task=d35a20a0)
Stack: cd963d40 cd68e000 fffffffb df29a090 c01989df df29a090 df29a090 cd963d40 
       cd68e000 fffffffb 00000000 c019912f df29a090 000000d0 fffffff4 cd963d40 
       cd68e000 fffffffb e125c0e0 c01991f9 df29a090 00000005 00000000 000000d0 
Call Trace:
 [<c01989df>] kobject_get_path+0xf/0x60
 [<c019912f>] do_kobject_uevent+0x1f/0xd0
 [<c01991f9>] kobject_uevent+0x19/0x20
 [<c01570f4>] bdev_uevent+0x34/0x40
 [<c0157254>] kill_block_super+0x14/0x30
 [<c01568a8>] deactivate_super+0x38/0x50
 [<c01571e0>] get_sb_bdev+0xe0/0x140
 [<c013dbbd>] kmem_cache_alloc+0x2d/0x40
 [<e125a9ae>] vfat_get_sb+0x1e/0x30 [vfat]
 [<e125a940>] vfat_fill_super+0x0/0x50 [vfat]
 [<c015740c>] do_kern_mount+0x8c/0x140
 [<c016ac51>] do_new_mount+0x61/0xb0
 [<c016b27e>] do_mount+0x1ae/0x1c0
 [<c016b074>] copy_mount_options+0x44/0xa0
 [<c016b5db>] sys_mount+0x7b/0xb0
 [<c0102d79>] syscall_call+0x7/0xb
Code: 56 e8 bd de fe ff 89 d8 5e 5b 5e c3 8d b4 26 00 00 00 00 55 57 56 53 be 01
 00 00 00 8b 54 24 14 31 db 83 cd ff 8b 3a 89 e9 89 d8 <f2> ae f7 d1 49 8b 52 24
 8d 74 31 01 85 d2 75 ea 89 f0 5b 5e 5f 

Oops случился после попытки смонтировать сидюк. До этого я пытался обратиться
через subfs.
Ядро 2.6.12-std26-up-alt4

$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 10
model name      : AMD Athlon(tm) XP 2500+
stepping        : 0
cpu MHz         : 1824.870
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 3612.67
Comment 1 Kachalov Anton 2005-09-20 10:49:45 MSD
Created attachment 1122 [details]
lsmod output
Comment 2 Andrey Rahmatullin 2005-09-21 07:00:46 MSD
ide-scsi давить, разве нет?
Comment 3 Michael Shigorin 2007-08-18 17:25:01 MSD
WORKSFORME? (ide-scsi тоже чинили; такого давно не видал)
Comment 4 Michael Shigorin 2007-11-02 09:52:46 MSK
DOESINDEED.