Date: Fri, 24 Mar 2000 02:28:45 +0300 (MSK) From: Juriy Goloveshkin <j@avias.com> To: Warner Losh <imp@village.org> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: pcmcia CDROM pscd-740 Message-ID: <Pine.BSF.4.21.0003240216300.502-100000@localhost> In-Reply-To: <200003231859.LAA42474@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Mar 2000, Warner Losh wrote: > : It looks fine. BUT. ANY operations with drive(mount,cdcontrol) fall > : kernel. > Looks a lot like what my drive gives, except yours supports more > formats, you lucky stiff. :-) *) > > : why? I don't know. What kind of information can I give to solve this > : problem? > > Are there any other error messages? Does it lock the machine up hard? > Can you get to the BIOS (eg hit the battery power meter key and does > the battery power display popup)? Does this drive work with Win9[58]? with win98 it works fine with default windows driver maybe I have something interesting for you: Script started on Fri Mar 24 02:12:52 2000 bash-2.03# gdb -k kernel.0 vmcore.0 GNU gdb 4.18 Copyright 1998 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-unknown-freebsd"... IdlePTD 3702784 initial pcb at 2f76e0 panicstr: from debugger panic messages: --- <<<<< skip a lot >>>>>> pccard: card inserted, slot 0 ata2 at port 0x170-0x177,0x376 irq 15 slot 0 on pccard0 acd0: CDROM <CRN-8241B> at ata2-master using BIOSPIO <<<<<< mount /dev/acd0c /mnt >>>>>>> Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0236224 stack pointer = 0x10:0xc7456c78 frame pointer = 0x10:0xc7456c84 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 = 285 (mount) interrupt mask = none panic: from debugger panic: from debugger Uptime: 8m54s dumping to dev #ad/0x30001, offset 73600 dump ata0: resetting devices .. done 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 boot (howto=260) at ../../kern/kern_shutdown.c:304 304 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=260) at ../../kern/kern_shutdown.c:304 #1 0xc0149671 in panic (fmt=0xc027dbd4 "from debugger") at ../../kern/kern_shutdown.c:554 #2 0xc0133e71 in db_panic (addr=-1071422940, have_addr=0, count=-1, modif=0xc7456ad0 "") at ../../ddb/db_command.c:433 #3 0xc0133e10 in db_command (last_cmdp=0xc02b9dec, cmd_table=0xc02b9c4c, aux_cmd_tablep=0xc02f3de4) at ../../ddb/db_command.c:333 #4 0xc0133ed6 in db_command_loop () at ../../ddb/db_command.c:455 #5 0xc0135ffb in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71 #6 0xc024e269 in kdb_trap (type=12, code=0, regs=0xc7456c38) at ../../i386/i386/db_interface.c:158 #7 0xc025a7ec in trap_fatal (frame=0xc7456c38, eva=0) at ../../i386/i386/trap.c:919 #8 0xc025a4d1 in trap_pfault (frame=0xc7456c38, usermode=0, eva=0) at ../../i386/i386/trap.c:817 #9 0xc025a05b in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi = 3, tf_esi = -1061761920, tf_ebp = -951751548, tf_isp = -951751580, tf_ebx = -1061666816, tf_edx = 1, tf_ecx = 5, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071422940, tf_cs = 8, tf_eflags = 66118, tf_esp = -957243680, tf_ss = -952136224}) at ../../i386/i386/trap.c:423 #10 0xc0236224 in acdopen (dev=0xc0b6cc80, flags=3, fmt=8192, p=0xc6f19ee0) at ../../dev/ata/atapi-cd.c:497 #11 0xc0182e1e in spec_open (ap=0xc7456d30) at ../../miscfs/specfs/spec_vnops.c:191 #12 0xc0182d25 in spec_vnoperate (ap=0xc7456d30) at ../../miscfs/specfs/spec_vnops.c:117 #13 0xc020f129 in ufs_vnoperatespec (ap=0xc7456d30) at ../../ufs/ufs/ufs_vnops.c:2301 ---Type <return> to continue, or q <return> to quit--- #14 0xc0206bbb in ffs_mountfs (devvp=0xc73f8de0, mp=0xc0bf6c00, p=0xc6f19ee0, malloctype=0xc02cb3c0) at vnode_if.h:189 #15 0xc0206502 in ffs_mount (mp=0xc0bf6c00, path=0xbfbfefcc "/mnt", data=0xbfbfef08 "\026ü¿¿", ndp=0xc7456e80, p=0xc6f19ee0) at ../../ufs/ffs/ffs_vfsops.c:357 #16 0xc0175d12 in mount (p=0xc6f19ee0, uap=0xc7456f80) at ../../kern/vfs_syscalls.c:304 #17 0xc025aa3b in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = -1077940508, tf_esi = -1077940276, tf_ebp = -1077940364, tf_isp = -951750700, tf_ebx = 0, tf_edx = 0, tf_ecx = 0, tf_eax = 21, tf_trapno = 12, tf_err = 2, tf_eip = 134534756, tf_cs = 31, tf_eflags = 582, tf_esp = -1077940552, tf_ss = 47}) at ../../i386/i386/trap.c:1073 #18 0xc024eb76 in Xint0x80_syscall () #19 0x8048af0 in ?? () #20 0x804867e in ?? () #21 0x80480f5 in ?? () (kgdb) up 10 #10 0xc0236224 in acdopen (dev=0xc0b6cc80, flags=3, fmt=8192, p=0xc6f19ee0) at ../../dev/ata/atapi-cd.c:497 497 if (cdp->slot != cdp->changer_info->current_slot) { (kgdb) list 492 if (flags & FWRITE) { 493 if (count_dev(dev) > 1) 494 return EBUSY; 495 } 496 if (count_dev(dev) == 1) { 497 if (cdp->slot != cdp->changer_info->current_slot) { 498 acd_select_slot(cdp); 499 tsleep(&cdp->changer_info, PRIBIO, "acdopn", 0); 500 } 501 acd_prevent_allow(cdp, 1); (kgdb) print cdp $1 = (struct acd_softc *) 0x0 (kgdb) quit bash-2.03# exit Script done on Fri Mar 24 02:14:28 2000 PS ughhhh 02:00 and I want sleep *) Bye Juriy Goloveshkin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003240216300.502-100000>