Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 18:17:30 -0300
From:      Gonzalo Nemmi <gnemmi@gmail.com>
To:        freebsd-current@freebsd.org
Cc:        "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com>, current@freebsd.org
Subject:   Re: Loading atapicam causes panic on 8.0-BETA2 #0 r195818 (i386)
Message-ID:  <200907221817.31095.gnemmi@gmail.com>
In-Reply-To: <1248292053.1479.12.camel@RabbitsDen>
References:  <1248292053.1479.12.camel@RabbitsDen>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 22 July 2009 4:47:33 pm Alexandre "Sunny" Kovalenko wrote:
> System:
> FreeBSD RabbitsDen.RabbitsLawn.verizon.net 8.0-BETA2 FreeBSD
> 8.0-BETA2 #0 r195818: Wed Jul 22 13:50:22 EDT 2009
> root@RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60 
> i386
>
> Hardware:
> Master: acd0 <MATSHITADVD-RAM UJ-842/RB01> ATA/ATAPI revision 6
> *NOTE*: Curiously enough, I can trigger this without drive being
> present (it is in the media slice of ThinkPad x60)
>
> To reproduce:
> kldload atapicd; kldload atapicam
>
> Crash summary:
> http://members.verizon.net/~akovalenko/Misc/core.txt.1
>
> Backtrace:
> (kgdb) bt
> #0  doadump () at pcpu.h:246
> #1  0xa0586614 in boot (howto=260)
> at /usr/src/sys/kern/kern_shutdown.c:419
> #2  0xa058692b in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:575
> #3  0xa076ddd5 in trap_fatal (frame=0xfa388678, eva=1180)
> at /usr/src/sys/i386/i386/trap.c:933
> #4  0xa076e0a3 in trap_pfault (frame=0xfa388678, usermode=0,
> eva=1180) at /usr/src/sys/i386/i386/trap.c:846
> #5  0xa076ebab in trap (frame=0xfa388678)
> at /usr/src/sys/i386/i386/trap.c:528
> #6  0xa075281b in calltrap () at
> /usr/src/sys/i386/i386/exception.s:165 #7  0xaf5ad125 in atapi_action
> (sim=0xaf4b3300, ccb=0xfa3887a0) at
> /usr/src/sys/modules/ata/atapicam/../../../dev/ata/atapi-cam.c:390 #8
>  0xa0453e58 in xpt_action_default (start_ccb=0xfa3887a0)
> at /usr/src/sys/cam/cam_xpt.c:2580
> #9  0xa044eb24 in xpt_action (start_ccb=0xfa3887a0)
> at /usr/src/sys/cam/cam_xpt.c:2403
> #10 0xa0450f77 in xpt_bus_register (sim=0xaf4b3300,
> parent=0xaf4b4780, bus=0) at /usr/src/sys/cam/cam_xpt.c:3794
> #11 0xaf5acce6 in atapi_cam_attach (dev=0xaf4b4780)
> at /usr/src/sys/modules/ata/atapicam/../../../dev/ata/atapi-cam.c:221
> #12 0xa05aff94 in device_attach (dev=0xaf4b4780) at device_if.h:178
> #13 0xa05b0f5a in device_probe_and_attach (dev=0xaf4b4780)
> at /usr/src/sys/kern/subr_bus.c:2552
> #14 0xa05b1265 in bus_generic_driver_added (dev=0xa633d980,
> driver=0xaf5aed7c) at /usr/src/sys/kern/subr_bus.c:3303
> #15 0xa05ae5d4 in devclass_driver_added (dc=0xa61ccd40,
> driver=0xaf5aed7c) at bus_if.h:183
> #16 0xa05af9d7 in driver_module_handler (mod=0xa70bcc80, what=0,
> arg=0xaf5aed64) at /usr/src/sys/kern/subr_bus.c:1036
> #17 0xa057471e in module_register_init (arg=0xaf5aed4c)
> at /usr/src/sys/kern/kern_module.c:124
> #18 0xa056ccdf in linker_load_module (kldname=Variable "kldname" is
> not available.
> ) at /usr/src/sys/kern/kern_linker.c:233
> #19 0xa056d1ed in kern_kldload (td=0xa65aab40, file=0xa61ff000
> "atapicam", fileid=0xfa388c6c) at
> /usr/src/sys/kern/kern_linker.c:1015 #20 0xa056d2bf in kldload
> (td=0xa65aab40, uap=0xfa388cf8)
> at /usr/src/sys/kern/kern_linker.c:1043
> #21 0xa076e474 in syscall (frame=0xfa388d38)
> at /usr/src/sys/i386/i386/trap.c:1073
> #22 0xa07528b0 in Xint0x80_syscall ()
> at /usr/src/sys/i386/i386/exception.s:261
> #23 0x00000033 in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (kgdb)
>
> Please, let me know if I can provide any additional information.

I'm getting a fatal trap 12 every time I try to kldload atapicam on 
BETA2 as well, but I'm not getting a vmcore or anything ...

acd0: DVDR <MATSHITA DVD+/-RW UJ-875S/D200> at ata0-master UDMA33

So, basically, I can confirm kldload atapicam crashes my system but I 
can't provide any cores or anything .. Im probably missing something 
and that's why Im getting nothing under /var/crash .. should anyone 
want to enlighten me with a link to read how to get the vmcore, I'll 
read it and try to get it so I can provide more info.

Best regards
Gonzalo

-- 
Blessings
Gonzalo Nemmi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907221817.31095.gnemmi>