atacontrol kernel crash (atausb?)

Pietro Cerutti pietro.cerutti at gmail.com
Mon Jan 15 11:22:42 UTC 2007


Hello,
this is a reproducible kernel page-fault crash on stable as of 1h ago:

FreeBSD gahrtop.localhost 6.2-STABLE FreeBSD 6.2-STABLE #4: Mon Jan 15
11:24:56 CET 2007
root at gahrtop.localhost:/usr/obj/usr/src/sys/GAHRTOP  i386

1) atacontrol list
ATA channel 0:
    Master:  ad0 <FUJITSU MHW2120BH/00000012> Serial ATA v1.0
    Slave:       no device present
ATA channel 1:
    Master:      no device present
    Slave:  acd0 <HL-DT-ST DVDRAM GSA-T10N/PA02> ATA/ATAPI revision 5

2) -> plug in USB stick (microspot 256MB USB2.0)

3) atacontrol list
ATA channel 0:
    Master:  ad0 <FUJITSU MHW2120BH/00000012> Serial ATA v1.0
    Slave:       no device present
ATA channel 1:
    Master:      no device present
    Slave:  acd0 <HL-DT-ST DVDRAM GSA-T10N/PA02> ATA/ATAPI revision 5
ATA channel 2:
    Master:      no device present
    Slave:       no device present

4) atacontrol attach ata2
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address           = 0x24
fault code                       = supervisor read, page not present
instruction pointer      = 0x20:0xc050d8fa
stack pointer             = 0x28:0xe8fd2bb8
frame pointer             = 0x28:0xe8fd2bb8
code segment           = base 0x0, limit 0xfffff, type 0x1b
                               = DPL 0, pres 1, def32 1, gran 1
processor eflags       = interrupt enabled, resume, IOPL = 0
current process        = 900 (atacontrol)
trap number             = 12
panic: page fault
cpuid = 0
Uptime = 5m46s
Physical memory: 2031 MB
Dumping 63 MB:

at this point nothing more appens. I have set debug.minidump=1 so
maybe this could be the cause for the RAM not to be dumped.

Furthermore, I read
"     The atacontrol utility can cause severe system crashes and loss of data
     if used improperly.  Please exercise caution when using this command!
"
from the atacontrol(8) manual page, so maybe it's just me doing something wrong.
If it's the case, how can I scan for the just-plugged-in USB disk
using the atausb driver?
No device appears in /dev

last one: why atausb doesn't have a manual page??

Thanx,



-- 
Pietro Cerutti
ICQ: 117293691
PGP: 0x9571F78E

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org


More information about the freebsd-stable mailing list