Re: PROBLEM: isofs crash on 2.4.0-test11-pre7 [1.] MAINTAINERS: ISO FILESYSTEM
On Mon Nov 20 2000, Alessandro Suardi wrote: > there is a buglet in fs/isofs/namei.c, corrected in test11-final. Hmmm. /var/log/warn says Nov 21 23:07:06 elfie kernel: _isofs_bmap: block >= EOF (1633681408, 4096) Nov 21 23:07:08 elfie kernel: _isofs_bmap: block >= EOF (559939584, 4096) Nov 21 23:07:09 elfie kernel: _isofs_bmap: block < 0 Nov 21 23:07:33 elfie last message repeated 2 times Nov 21 23:09:39 elfie kernel: _isofs_bmap: block < 0 Nov 21 23:11:25 elfie kernel: Freeing unused kernel memory: 176k freed Nov 21 23:11:55 elfie kernel: _isofs_bmap: block < 0 Nov 21 23:11:59 elfie kernel: _isofs_bmap: block < 0 Nov 21 23:12:33 elfie kernel: _isofs_bmap: block >= EOF (1633681408, 4096) Nov 21 23:12:38 elfie kernel: _isofs_bmap: block >= EOF (1633681408, 4096) Nov 21 23:13:03 elfie kernel: _isofs_bmap: block >= EOF (559939584, 4096) after I mounted the CD-ROM. Moving to the directory the CD-ROM was mounted on, it is empty ! Going back to 2.4.0-test10-final cures the problem. My system: hd@elfie:~ > ver_linux -- Versions installed: (if some fields are empty or look -- unusual then possibly you have very old versions) Linux elfie 2.4.0-test10-final #1 Tue Nov 21 23:18:34 CET 2000 i586 unknown Kernel modules 2.3.19 Gnu C 2.95.2 Gnu Make 3.79 Binutils 2.10.0.33 Linux C Library> libc.2.2 Dynamic linker ldd (GNU libc) 2.2 Linux C++ Library 2.9.0 Procps 2.0.2 Mount 2.10o Net-tools 1.46 Kbd0.96 Sh-utils 1.12 Modules Loaded serial -- # Heinz Diehl, 68259 Mannheim, Germany - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: isofs crash on 2.4.0-test11-pre7 [1.] MAINTAINERS: ISO FILESYSTEM
Tony Spinillo wrote: > > Same problem as Vincent - OOPs when "ls" a mounted cdrom. It did work > once with a CD-R. My report symptoms are nearly identical to previous > post with same subject heading with a few differences: there is a buglet in fs/isofs/namei.c, corrected in test11-final. --alessandro <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Linux: kernel 2.2.18p21/2.4.0-t11p7 glibc-2.1.94 gcc-2.95.2 binutils-2.10.0.33 Oracle: Oracle8i 8.1.6.1.0 Enterprise Edition for Linux motto: Tell the truth, there's less to remember. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: isofs crash on 2.4.0-test11-pre7 [1.] MAINTAINERS: ISO FILESYSTEM
Hi Vincent and Tony, Hate to spoil the fun :( but, try the patch Tom Leete commited on Saturday november 18th. Since your Oopses are related to get_joliet_filename(), this might just do the trick? Luuk >Hi, > > >The second and third arguments of get_joliet_filename() are swapped. > > >Tom > > > >--- linux-2.4.0-test11/fs/isofs/namei.c.orig Sat Nov 18 01:55:55 2000 >+++ linux-2.4.0-test11/fs/isofs/namei.c Sat Nov 18 07:08:05 2000 >@@ -127,7 +127,7 @@ > dpnt = tmpname; > #ifdef CONFIG_JOLIET > } else if (dir->i_sb->u.isofs_sb.s_joliet_level) >- dlen = get_joliet_filename(de, dir, tmpname); >+ dlen = get_joliet_filename(de, tmpname, dir); >dpnt = tmpname; >#endif > } else if (dir->i_sb->u.isofs_sb.s_mapping == 'a') >- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: PROBLEM: isofs crash on 2.4.0-test11-pre7 [1.] MAINTAINERS: ISO FILESYSTEM
Same problem as Vincent - OOPs when "ls" a mounted cdrom. It did work once with a CD-R. My report symptoms are nearly identical to previous post with same subject heading with a few differences: [4.] Kernel version (from /proc/version): Linux version 2.4.0-test11 (root@svcr-adsl) (gcc driver version 2.95.3 19991030 (prerelease) executing gcc version egcs-2.91.66) #4 Sun Nov 19 02:00:43 EST 2000 7.] Environment [7.1.] Software (add the output of the ver_linux script here) ./ver_linux -- Versions installed: (if some fields are empty or look -- unusual then possibly you have very old versions) Linux svcr-adsl-205-238-237-43 2.4.0-test11 #4 Sun Nov 19 02:00:43 EST 2000 i686 unknown Kernel modules 2.3.17 Gnu C 2.95.3 Gnu Make 3.79.1 Binutils 2.10.0.24 Linux C Library2.1.3 Dynamic linker ldd (GNU libc) 2.1.3 Procps 2.0.7 Mount 2.10o Net-tools 1.57 Console-tools 0.2.3 Sh-utils 2.0 Modules Loaded NVdriver vmnet vmmon 3c59x tulip [7.2.] Processor information (from /proc/cpuinfo): cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping: 3 cpu MHz : 871.33 cache size : 256 KB fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes features: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips: 1736.70 7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem cat /proc/ioports -001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 0376-0376 : ide1 03c0-03df : vga+ 03f8-03ff : serial(auto) 0cf8-0cff : PCI conf1 a000-a01f : Intel Corporation 82820 820 (Camino 2) Chipset USB (Hub B) a400-a41f : Intel Corporation 82820 820 (Camino 2) Chipset USB (Hub A) a800-a80f : Intel Corporation 82820 820 (Camino 2) Chipset IDE U100 b000-dfff : PCI Bus #02 b400-b43f : 3Com Corporation 3c905 100BaseTX [Boomerang] b400-b43f : eth1 b800-b83f : Ensoniq ES1371 [AudioPCI-97] b800-b83f : es1371 d000-d03f : Advanced System Products, Inc ABP940-UW d000-d03f : advansys d400-d4ff : Lite-On Communications Inc LNE100TX d400-d4ff : eth0 d800-d8ff : PCI device 10cd:2500 (Advanced System Products, Inc) e400-e403 : acpi e404-e405 : acpi e408-e40b : acpi e428-e42b : acpi e800-e80f : Intel Corporation 82820 820 (Camino 2) Chipset SMBus cat /proc/iomem -0009fbff : System RAM 0009fc00-0009 : reserved 000a-000b : Video RAM area 000c-000c7fff : Video ROM 000cc000-000c : Extension ROM 000d-000d3fff : Extension ROM 000f-000f : System ROM 0010-1ffeafff : System RAM 0010-002a7147 : Kernel code 002a7148-002c35e3 : Kernel data 1ffeb000-1ffeefff : ACPI Tables 1ffef000-1fffefff : reserved 1000-1fff : ACPI Non-volatile Storage ec80-edff : PCI Bus #02 ec80-ec8000ff : Advanced System Products, Inc ABP940-UW ed00-edff : Lite-On Communications Inc LNE100TX ed00-edff : eth0 ed80-ed8000ff : PCI device 10cd:2500 (Advanced System Products, Inc) ee00-efdf : PCI Bus #01 ee00-eeff : nVidia Corporation NV15 Bladerunner (Geforce2 GTS) efe0-efef : PCI Bus #02 eff0-f7ff : PCI Bus #01 f000-f7ff : nVidia Corporation NV15 Bladerunner (Geforce2 GTS) f800-fbff : PCI device 8086:1130 (Intel Corporation) - : reserved [7.6.] SCSI information (from /proc/scsi/scsi) cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 04 Lun: 00 Vendor: IBM Model: DNES-309170W Rev: S80K Type: Direct-AccessANSI SCSI revision: 03 Host: scsi1 Channel: 00 Id: 03 Lun: 00 Vendor: PLEXTOR Model: CD-ROM PX-40TW Rev: 1.03 Type: CD-ROM ANSI SCSI revision: 02 Host: scsi1 Channel: 00 Id: 06 Lun: 00 Vendor: IOMEGA Model: ZIP 250 Rev: H.41 Type: Direct-AccessANSI SCSI revision: 02 [X.] Other notes, patches, fixes, workarounds: When trying to ls on cdrom mounted on scsi1 (Plextor CD-ROM), mount goes okay. "ls" /mnt/cdrom results in "oops" - same as a previous post. The ls did work once with a cdr disc - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
PROBLEM: isofs crash on 2.4.0-test11-pre7 [1.] MAINTAINERS: ISO FILESYSTEM
[2.] Full description of the problem/report: using gnome-terminal, the default alias ls='/bin/ls $LS_OPTIONS' #mount /mnt/cdrom #cd /mnt/cdrom #ls Segmentation fault #ls root@darkstar:~# umount /mnt/cdrom umount: /mnt/cdrom: device is busy root@darkstar:~# umount -f /mnt/cdrom umount2: Device or resource busy umount: /mnt/cdrom: device is busy #ps ax ... 361 ?D 0:00 /bin/ls --color=auto -F -b -T 0 ... #kill -9 361 #ps ax ... 361 ?D 0:00 /bin/ls --color=auto -F -b -T 0 ... CDROM is now unusable... [3.] Keywords (i.e., modules, networking, kernel): Module: isofs Networking: ppp dialup Kernel: 2.4.0-test11-pre7 [4.] Kernel version (from /proc/version): t77@darkstar:~$ cat /proc/version Linux version 2.4.0-test11 (t77@darkstar) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Sat Nov 18 16:23:40 EST 2000 [5.] Output of Oops.. message ksymoops 2.3.5 on i686 2.4.0-test11. Options used -V (default) -k /proc/ksyms (default) -l /proc/modules (default) -o /lib/modules/2.4.0-test11/ (default) -m /boot/System.map (specified) Unable to handle kernel paging request at virtual address dfdfdfc4 c486d5a7 *pde = Oops: CPU:0 EIP:0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010202 eax: dfdfdf00 ebx: c2976960 ecx: c1ddb800 edx: c23f5c00 esi: c1ddb800 edi: c1ddb821 ebp: c233fba0 esp: c15b9eb0 ds: 0018 es: 0018 ss: 0018 Process ls (pid: 229, stackpage=c15b9000) Stack: c2976960 c486a2bf c1ddb800 c2976960 c27f8000 c10a9df0 c1b3d140 c2976960 c1b3d140 0001 c01e1818 0022 0022 0b976960 0800 22994000 c486a3dd c2976960 c1b3d140 c27f8000 c27f8400 fff4 c1b3d140 Call Trace: [] [] [] [] [] [] [] [] Code: 8b 90 c4 00 00 00 80 b8 b4 00 00 00 00 74 1e 68 00 10 00 00 >>EIP; c486d5a7 <[isofs]get_joliet_filename+13/87> <= Trace; c486a2bf <[isofs]__module_using_checksums+bd/19e> Trace; c486a3dd <[isofs]isofs_lookup+3d/88> Trace; c013502b Trace; c0135788 Trace; c0134dc7 Trace; c0135d90 <__user_walk+3c/58> Trace; c0132a26 Trace; c0108daf Code; c486d5a7 <[isofs]get_joliet_filename+13/87> <_EIP>: Code; c486d5a7 <[isofs]get_joliet_filename+13/87> <= 0: 8b 90 c4 00 00 00 movl 0xc4(%eax),%edx <= Code; c486d5ad <[isofs]get_joliet_filename+19/87> 6: 80 b8 b4 00 00 00 00 cmpb $0x0,0xb4(%eax) Code; c486d5b4 <[isofs]get_joliet_filename+20/87> d: 74 1e je 2d <_EIP+0x2d> c486d5d4 <[isofs]get_joliet_filename+40/87> Code; c486d5b6 <[isofs]get_joliet_filename+22/87> f: 68 00 10 00 00pushl $0x1000 [6.] A small shell script or example program which triggers the problem (if possible) none... [7.] Environment [7.1.] Software (add the output of the ver_linux script here) t77@darkstar:~$ ver_linux -- Versions installed: (if some fields are empty or looks -- unusual then possibly you have very old versions) Linux darkstar 2.4.0-test11 #1 Sat Nov 18 16:23:40 EST 2000 i686 unknown Kernel modules found Gnu C egcs-2.91.66 Binutils 2.9.1.0.25 Linux C Library.. Dynamic Linker (ld.so) 1.9.9 ls: /usr/lib/libg++.so: No such file or directory Procps 2.0.6 Mount 2.10l Net-tools (2000-05-21) Kbd0.99 Sh-utils 2.0 Sh-utils gJC Sh-utils Sh-utils Inc. Sh-utils NO Sh-utils PURPOSE. [7.2.] Processor information (from /proc/cpuinfo): t77@darkstar:~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 3 model name : Pentium II (Klamath) stepping: 4 cpu MHz : 233.000866 cache size : 512 KB fdiv_bug: no hlt_bug : no f00f_bug: no coma_bug: no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes features: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov mmx bogomips: 466.94 [7.3.] Module information (from /proc/modules): t77@darkstar:~$ cat /proc/modules nls_cp950 98432 1 (autoclean) sr_mod 12000 1 (autoclean) cdrom 27360 0 (autoclean) [sr_mod] isofs 18384 1 (autoclean) ppp_deflate40672 1 (autoclean) bsd_comp4160 0 (autoclean) ipchains 31392 0 (unused) ide-scsi7984 1 scsi_mod 56640 2 [sr_mod ide-scsi] emu10k145184 0 soundcore 3888 4 [emu10k1] ppp_async 6512 1 ppp_generic13056 2 [ppp_deflate bsd_comp ppp_async] slhc4688 1 [ppp_generic] [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) t77@darkstar:~$ cat /proc/ioports -001f : dma1 0020-003f : pic1 0040-005f :