CD paranoia caused crash

Anthony Philipp philipp1 at uiuc.edu
Tue May 24 13:59:18 PDT 2005


Hello,

I was ripping a CD with abcde which uses CD paranoia to rip. The CD
had a scratch in it and it would not be read. Then after a few
minutes my machine simply rebooted. I was wondering how exactly this
was allowed since I was ripping this CD as a non-privileged user. I
have included the relevant /var/log/messages section and a dmesg. If
there is anything else that would be of value please tell me. Is
this avoidable in the future? I would hate for users who have read
access to the CD drive to be able to crash my machine. 

Thanks for your help,
Anthony Philipp

>From /var/log/messages
----------
May 22 13:50:24 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x00 ascq=0x00 error=0
May 22 13:50:28 lupin last message repeated 2 times
May 22 13:50:32 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x11 ascq=0x00 error=0
May 22 13:50:48 lupin last message repeated 8 times
May 22 13:50:50 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x00 ascq=0x00 error=0
May 22 13:51:03 lupin last message repeated 6 times
May 22 13:51:07 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x11 ascq=0x00 error=0
May 22 13:51:25 lupin last message repeated 8 times
May 22 13:51:27 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x00 ascq=0x00 error=0
May 22 13:51:41 lupin last message repeated 6 times
May 22 13:51:42 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x11 ascq=0x00 error=0
May 22 13:52:13 lupin last message repeated 14 times
May 22 13:52:40 lupin last message repeated 12 times
May 22 13:52:42 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x00 ascq=0x00 error=0
May 22 13:52:52 lupin last message repeated 5 times
May 22 13:52:57 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x11 ascq=0x00 error=0
May 22 13:53:13 lupin last message repeated 8 times
May 22 13:53:15 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x00 ascq=0x00 error=0
May 22 13:53:42 lupin last message repeated 13 times
May 22 13:53:45 lupin kernel: acd0: FAILURE - READ_CD MEDIUM ERROR asc=0x11 ascq=0x00 error=0
May 22 13:54:57 lupin syslogd: kernel boot file is /boot/kernel/kernel
May 22 13:54:57 lupin kernel: Copyright (c) 1992-2005 The FreeBSD Project.
May 22 13:54:57 lupin kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
May 22 13:54:57 lupin kernel: The Regents of the University of California. All rights reserved.
May 22 13:54:57 lupin kernel: FreeBSD 5.4-RELEASE-p1 #7: Sat May 14 20:27:25 CDT 2005
May 22 13:54:57 lupin kernel: ven at lupin.angrypanda.net:/usr/obj/usr/src/sys/LUPIN
---------

>From dmesg
--------
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-p1 #7: Sat May 14 20:27:25 CDT 2005
    ven at lupin.angrypanda.net:/usr/obj/usr/src/sys/LUPIN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1300MHz (1296.07-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf07  Stepping = 7
  Features=0x3febf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 670593024 (639 MB)
avail memory = 650772480 (620 MB)
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <DELL DIM 8100> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82850 host to AGP bridge> mem 0xe8000000-0xefffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci2: <ACPI PCI bus> on pcib2
twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xdcf0-0xdcff mem 0xfe800000-0xfeffffff irq 10 at device 8.0 on pci2
twe0: 4 ports, Firmware FE7S 1.05.00.065, BIOS BE7X 1.08.00.048
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xff6ff800-0xff6ff87f irq 11 at device 12.0 on pci2
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: [snip]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xff80-0xff9f irq 11 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) 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
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xff60-0xff7f irq 9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) 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
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <ECP parallel printer port> port 0x778-0x77f,0x378-0x37f irq 7 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 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
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc9000-0xcbfff,0xc8000-0xc8fff,0xc0000-0xc7fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 1296067900 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDRW <ASUS CRW-5224A/1.20> at ata0-master PIO4
acd1: DVDROM <SAMSUNG DVD-ROM SD-616/bp06> at ata0-slave PIO4
twed0: <Unit 2, TwinStor, Normal> on twe0
twed0: 238474MB (488395120 sectors)
Mounting root from ufs:/dev/twed0s1a
WARNING: / was not properly dismounted
WARNING: /home was not properly dismounted
/home: mount pending error: blocks 115520 files 2
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
pid 585 (naim), uid 1001: exited on signal 6 (core dumped)
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 120 bytes
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 180 bytes
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 240 bytes
--------


More information about the freebsd-questions mailing list