Bug 133390 - umass crashes system in 7.1 when Olympus D-540 attached, worked in previous versions
Summary: umass crashes system in 7.1 when Olympus D-540 attached, worked in previous v...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 7.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-05 03:40 UTC by Lars Eighner
Modified: 2018-01-03 05:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Eighner 2009-04-05 03:40:01 UTC
When Olympus camera D-540 Zoom is attached, umass causes Fatal Trap 12.  This did not occur with some previous release, which worked perfectly, presented camera as a da device which could be mounted as a FAT (msdos) file system.

Fix: 

I need to know how far back I need to downgrade to get to a pre-broken umass.
How-To-Repeat: Happens every time with custom kernel (omitting umass, umass loaded manually after boot), with umass loaded from loader.conf, and with GENERIC kernel.
Comment 1 Lars Eighner 2009-04-07 13:14:23 UTC
Script started on Mon Apr  6 03:35:30 2009
[1;41;37mMon Apr 06 03:35:30 bash4.0:ttyp0:root
debranded/usr/obj/usr/src/sys/JAN09#[0mexitkgdb kernel.debug /var/crash/vmcore.11
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0x0
stack pointer	        = 0x28:0xd2e54698
frame pointer	        = 0x28:0xd2e546d8
code segment		= base rx0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 13 (swi4: clock sio)
trap number		= 12
panic: page fault
cpuid = 0
Uptime: 14h22m35s
Physical memory: 430 MB
Dumping 100 MB: 85 69 53 37 21 5

Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/snd_emu10k1.ko...Reading symbols from /boot/kernel/snd_emu10k1.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/snd_emu10k1.ko
Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/kernel/sound.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/sound.ko
Reading symbols from /boot/modules/nvidia.ko...done.
Loaded symbols for /boot/modules/nvidia.ko
Reading symbols from /boot/kernel/atapicam.ko...Reading symbols from /boot/kernel/atapicam.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/atapicam.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/daemon_saver.ko...Reading symbols from /boot/kernel/daemon_saver.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/daemon_saver.ko
Reading symbols from /boot/kernel/umass.ko...Reading symbols from /boot/kernel/umass.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/umass.ko
#0  doadump () at pcpu.h:196
196		__asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) list 0x0
Function "0x0" not defined.
(kgdb) backtrace
#0  doadump () at pcpu.h:196
#1  0xc0657e07 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc06580d9 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc090ab6c in trap_fatal (frame=0xd2e54658, eva=0)
     at /usr/src/sys/i386/i386/trap.c:939
#4  0xc090adf0 in trap_pfault (frame=0xd2e54658, usermode=0, eva=0)
     at /usr/src/sys/i386/i386/trap.c:852
#5  0xc090b7ac in trap (frame=0xd2e54658) at /usr/src/sys/i386/i386/trap.c:530
#6  0xc08f161b in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#7  0x00000000 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) list *)x  0x0
No source file for address 0x0.
(kgdb) Quit
[1;41;37mMon Apr 06 03:39:06 bash4.0:ttyp0:root
debranded/usr/obj/usr/src/sys/JAN09#[0mexit
exit

Script done on Mon Apr  6 03:39:09 2009


-- 
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:30 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped