Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2005 01:38:21 -0400
From:      Wayne Witzke <wwitzke@sstire.com>
To:        freebsd-questions@freebsd.org
Subject:   CDROM Unknown Transfer Error crashes system
Message-ID:  <4348ACCD.7050203@sstire.com>

next in thread | raw e-mail | index | archive | help
Hello everybody,

I've just installed FreeBSD on my laptop (decided I wanted a more 
developer-friendly computer).  Aside from what appear to be the standard 
newbie problems, every thing's gone remarkably well, except for this:

I have a CD-RW/DVD-ROM drive on my laptop.  As a CDROM it had been 
working perfectly well since the initial install about a week and a half 
ago.  It read CDs and DVDs without incident, and did so for hours and 
hours (which it was forced to do because I've been listening to music 
pretty much non-stop since I installed the system).  The burner did not 
work, but after the grueling process of opening up the FreeBSD handbook 
and actually reading how to make it possible to burn CDs, that started 
working as well.  That is, I recompiled the kernel with the atapicam 
module, changed permissions and set up links in the devfs.conf file in 
/etc, and set the suid on cdrecord and cdrdao.  Worked like a charm. 
Burned my first CD, and it was beautiful.  Then I think I went home.

Yesterday, while not burning any CDs at all, just listening to music 
using kscd while I wrote perl script, my computer suddenly reboots. 
Checking /var/log/messages, this is what I see (first log messages after 
the last root login):

Oct  7 09:46:15 xxx kernel: acd0: unknown transfer phase
Oct  7 09:50:20 xxx syslogd: kernel boot file is /boot/kernel/kernel
Oct  7 09:50:20 xxx kernel: Copyright (c) 1992-2005 The FreeBSD Project.
Oct  7 09:50:20 xxx kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989

etc. etc. into the boot process.

Here's what dmesg tells me:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #1: Thu Oct  6 21:18:29 EDT 2005
     root@xxx:/usr/obj/usr/src/sys/XXX
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1400MHz (1398.82-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
 
Features=0xa7e9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
real memory  = 536535040 (511 MB)
avail memory = 511168512 (487 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL CPi R  > on motherboard
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU (4 Cx states)> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
acpi_cmbat1: <Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
ACPI link \\_SB_.PCI0.LNKB has invalid initial irq 11, ignoring
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce4 4200 Go> mem 
0xf0000000-0xf3ffffff,0xfc000000-0xfcffffff irq 11 at device 0.0 on pci1
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xbf80-0xbf9f 
irq 11 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xbf40-0xbf5f 
irq 11 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xbf20-0xbf3f 
irq 11 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf4fffc00-0xf4ffffff irq 
11 at device 29.7 on pci0
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
uhub4: Dell Port Replicator, class 9/0, rev 2.00/10.00, addr 2
uhub4: multiple transaction translators
uhub4: 4 ports with 4 removable, self powered
uhub5: Lite-On Technology USB 1.1 2port downstream low power hub, class 
9/0, rev 1.10/1.00, addr 3
uhub5: 3 ports with 2 removable, bus powered
ukbd0: Lite-On Technology USB Productivity Option Keyboard( has the hub 
in # 1 ), rev 1.10/1.00, addr 4, iclass 3/1
kbd1 at ukbd0
uhid0: Lite-On Technology USB Productivity Option Keyboard( has the hub 
in # 1 ), rev 1.10/1.00, addr 4, iclass 3/1
ums0: Microsoft Basic Optical Mouse, rev 1.10/0.00, addr 5, iclass 3/1
ums0: 3 buttons and Z dir.
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5705M Gigabit Ethernet, ASIC rev. 0x3001> mem 
0xfaff0000-0xfaffffff irq 11 at device 0.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5705 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 
1000baseTX-FDX, auto
bge0: Ethernet address: 00:0b:db:9b:4a:4b
cbb0: <PCI-CardBus Bridge> at device 1.0 on pci2
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <PCI-CardBus Bridge> irq 11 at device 1.1 on pci2
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0: <1394 Open Host Controller Interface> mem 
0xfafe8000-0xfafebfff,0xfafef800-0xfafeffff irq 11 at device 1.2 on pci2
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 48:4f:c0:00:06:91:b8:61
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 4a:4f:c0:91:b8:61
fwe0: Ethernet address: 4a:4f:c0:91:b8:61
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
pci2: <base peripheral> at device 1.3 (no driver attached)
ndis0: <Dell TrueMobile 1300 WLAN Mini-PCI Card> mem 
0xfafec000-0xfafedfff irq 5 at device 3.0 on pci2
ndis0: NDIS API version: 5.1
ndis0: Ethernet address: 00:90:4b:2f:b3:ae
ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 
0xbfa0-0xbfaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcm0: <Intel ICH4 (82801DB)> port 0xbc40-0xbc7f,0xb800-0xb8ff mem 
0xf4fff400-0xf4fff4ff,0xf4fff800-0xf4fff9ff irq 5 at device 31.5 on pci0
pcm0: <SigmaTel STAC9750/51 AC97 Codec>
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq 
1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
orm0: <ISA Option ROMs> at iomem 
0xcf800-0xcffff,0xcf000-0xcf7ff,0xc0000-0xcefff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1398819615 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 57231MB <Hitachi HTS541060G9AT00/MB3OA61A> [116280/16/63] at 
ata0-master UDMA100
firewire0: New S400 device ID:0090a950000a6bf5
acd0: CDRW <QSI CD-RW/DVD-ROM SBW-242/UD30> at ata1-master PIO4
sbp0:0:1 login failed
da0 at sbp0 bus 0 target 0 lun 0
da0: <WD 1600JB External 0223> Fixed Simplified Direct Access SCSI-4 device
da0: 50.000MB/s transfers
da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C)
cd0 at ata1 bus 0 target 0 lun 0
cd0: <QSI CDRW/DVD SBW-242 UD30> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s1a

Checking sysctl tells me: hw.ata.atapi_dma: 0

I've googled the error, but the information was mostly related to cd 
burning or errors in different releases from months or years ago. 
Nothing recent that I could find.

Does anybody have any idea what's going on and how I can fix whatever it is?

Thank you!

Wayne




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