Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
10-11-2010, 10:51 AM
#1
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940
Rep:
insert music CDs floods dmesg
I had a terminal open waiting to catch these messages that spam dmesg.
Simply inserting a music CD into /dev/sr0 or /dev/sr1 gives me this:
Code:
mingdao@silas ~ $ sudo tail -f /var/log/messages
Oct 11 20:40:47 silas /usr/sbin/gpm[1423]: *** info [mice.c(1766)]:
Oct 11 20:40:47 silas /usr/sbin/gpm[1423]: imps2: Auto-detected intellimouse PS/2
Oct 11 20:42:16 silas acpid: client connected from 1464[0:100]
Oct 11 20:42:16 silas acpid: 1 client rule loaded
Oct 11 20:42:24 silas acpid: client connected from 1464[0:100]
Oct 11 20:42:24 silas acpid: 1 client rule loaded
Oct 11 20:42:37 silas kernel: scim-bridge[1613]: segfault at 4444415f ip b7733d47 sp bfd32a30 error 4 in libscim-1.0.so.8.2.4[b76d2000+c7000]
Oct 11 21:00:27 silas -- MARK --
Oct 11 21:20:27 silas -- MARK --
Oct 11 21:40:27 silas -- MARK --
Oct 11 21:53:02 silas kernel: sr 4:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
Oct 11 21:53:02 silas kernel: sr 4:0:0:0: [sr0] Sense Key : 0x5 [current]
Oct 11 21:53:02 silas kernel: sr 4:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
Oct 11 21:53:02 silas kernel: sr 4:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 02 00
Code:
Oct 11 21:55:46 silas kernel: sr 6:0:0:0: [sr1] Result: hostbyte=0x00 driverbyte=0x08
Oct 11 21:55:46 silas kernel: sr 6:0:0:0: [sr1] Sense Key : 0x5 [current]
Oct 11 21:55:46 silas kernel: sr 6:0:0:0: [sr1] ASC=0x64 ASCQ=0x0
Oct 11 21:55:46 silas kernel: sr 6:0:0:0: [sr1] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 02 00
It's literally thousands of lines, making any "dmesg" output useless.
My Google fu isn't helping ...
This is on a fresh Slack-13.1 install today, with all packages from patches updated.
Information:
Code:
mingdao@silas ~ $ uname -a
Linux silas 2.6.36-rc7+ #1 SMP Mon Oct 11 17:11:49 CST 2010 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
and the kernel-generic-smp-2.6.33.4_smp-i686-1 distro kernel does it also.
Code:
root@silas:~# lspci -k
00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a2)
Subsystem: ASUSTeK Computer Inc. Device 8239
00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a3)
Subsystem: ASUSTeK Computer Inc. Device 8239
00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a3)
Subsystem: ASUSTeK Computer Inc. Device 8239
Kernel driver in use: nForce2_smbus
Kernel modules: i2c-nforce2
00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 8239
Kernel driver in use: ohci_hcd
00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
Subsystem: ASUSTeK Computer Inc. Device 8239
Kernel driver in use: ehci_hcd
00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 8239
Kernel driver in use: pata_amd
00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3)
Subsystem: ASUSTeK Computer Inc. Device 8239
Kernel driver in use: sata_nv
00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3)
Subsystem: ASUSTeK Computer Inc. Device 8239
Kernel driver in use: sata_nv
00:05.2 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a3)
Subsystem: ASUSTeK Computer Inc. Device 8239
Kernel driver in use: sata_nv
00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
Subsystem: ASUSTeK Computer Inc. Device 81f6
Kernel driver in use: HDA Intel
00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Kernel driver in use: k8temp
Kernel modules: k8temp
01:07.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 86)
Subsystem: D-Link System Inc DFE-530TX rev C
Kernel driver in use: via-rhine
02:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GT 220] (rev a2)
Kernel driver in use: nvidia
Kernel modules: nvidia
02:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
Kernel driver in use: HDA Intel
Code:
root@silas:~# hdparm -iI /dev/sr0
/dev/sr0:
Model=ASUS DRW-2014L1T, FwRev=1.02, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=unknown, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 *udma4
AdvancedPM=no
Drive conforms to: unknown: ATA/ATAPI-3,4,5,6,7
* signifies the current active mode
ATAPI CD-ROM, with removable media
Model Number: ASUS DRW-2014L1T
Serial Number:
Firmware Revision: 1.02
Standards:
Supported: CD-ROM ATAPI-3 -4 -5 -6 -7
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
cache/buffer size = unknown
Capabilities:
LBA, IORDY(can be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
PACKET command feature set
DEVICE_RESET command
Removable Media Status Notification feature set
* Gen1 signaling speed (1.5Gb/s)
* Host-initiated interface power management
* Phy event counters
Device-initiated interface power management
Asynchronous notification (eg. media change)
* Software settings preservation
root@silas:~# hdparm -iI /dev/sr1
/dev/sr1:
Model=ASUS CD-S520/A, FwRev=2.0L, SerialNo=
Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=unknown, MaxMultSect=0
(maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
IORDY=yes, tPIO={min:227,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no
* signifies the current active mode
ATAPI CD-ROM, with removable media
Model Number: ASUS CD-S520/A
Serial Number:
Firmware Revision: 2.0L
Standards:
Used: ATAPI for CD-ROMs, SFF-8020i, r2.5
Supported: CD-ROM ATAPI-2
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
cache/buffer size = unknown
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=227ns IORDY flow control=120ns
Asus DRW-2014L1T (DVD+/-RW) is /dev/sr0 ; Asus CD-S520/A (CD-ROM) is /dev/sr1
10-12-2010, 01:00 PM
#2
Member
Registered: Oct 2006
Location: Brunswick, MD
Distribution: gNewSense 2.3 (deltah) i386
Posts: 57
Rep:
I had something like that happen with stdout, but that, I think was when I tried to use the discs; probably because they...the discs...had problems. That is all I can say on that. Once, there was a disc that showed something like that on stdout when I tried to mount it...the disc was data...turned out the disc had a scratch like a spot
10-12-2010, 08:18 PM
#3
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940
Original Poster
Rep:
Hey PenGUiN_6_1,
Thanks for your reply.
This is only happening with music CDs, so of course they're not mounted.
It does not happen with data CDs, or with DVDs. The discs are originals,
and not scratched. The CD-ROM drive is about 8 years old, but the DVD is
much newer ... maybe a year or so, but I haven't checked. They both work
fine doing what they were designed to do.
It does not happen with Gentoo on the same computer.
The output starts after the drive tray is closed, and then the CD-ROM
starts spinning up the disc. Maybe there is some script in Slackware
that is trying to read the disc, though personally I have no automount
stuff to my knowledge.
I'll have to check that when I get back home ... on the way to Vietnam atm.
10-13-2010, 06:13 AM
#4
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
I think I get similar messages on boot when I have an audio CD in my drive. I don't have any problems with the CDs, or the drive.
12-25-2010, 10:13 AM
#5
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308
@Bruce Hill, did you ever get anywhere with this?
kthxbai
12-26-2010, 08:55 PM
#6
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940
Original Poster
Rep:
Quote:
Originally Posted by
glorsplitz
@Bruce Hill, did you ever get anywhere with this?
kthxbai
Yes, I tried many things on Slackware 13.1, and nothing fixed it. There were
also several other problems with Slackware 13.1.
I tried 2 other distros on the same box, and neither of them had that problem.
Now it is permanently fixed ... I removed Slackware and installed Gentoo.
12-27-2010, 08:53 AM
#7
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308
thanks for your reply, not kind of fix i was hoping for
cd/dvd drive works fine, log messages for audio are more of a nag
i was thinking of writing script to delete annoying log messages
cheers!
12-28-2010, 08:42 PM
#8
Senior Member
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308
if anyone is interested
screwed around with this a little more
slackware 13.1, up to date via slackpkg, 2.6.33.5
/dev/sr0: TSSTcorp DVD+-RW TS-L632H D300 [cd/dvd]
messages:
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 02 00
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 02 00
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] ASC=0x64 ASCQ=0x0
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 04 00 00 00 02 00
syslog:
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: end_request: I/O error, dev sr0, sector 0
Dec 28 20:08:15 XXXX-XXXXXXXX last message repeated 5 times
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: end_request: I/O error, dev sr0, sector 8
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: end_request: I/O error, dev sr0, sector 128
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: end_request: I/O error, dev sr0, sector 0
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: end_request: I/O error, dev sr0, sector 0
Dec 28 20:08:15 XXXX-XXXXXXXX kernel: end_request: I/O error, dev sr0, sector 4096
inserted commericial audio cd
cdparnoia -vsQ (does check of drive, cd, lists cd contents), messages/syslog flooded, see above samples
cdparanoia -B 1 (rip track 1) no log flood
did couple more tracks, no log flood
ejected cd, repeated above cdparanoia stuff, new log flood
ripped couple more tracks, no log flood
seems after initial access to audio cd, logging stops
All times are GMT -5. The time now is 09:08 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News