"K. Matthew Victor" wrote: > Sorry, let us try this again, somehow I clipped out the files.matt > > Greetings, I need advise as to what might've become bollixed after a > kernel upgrade. > Problem: Unable to mount the scsi (real, native, scsi cd burner for > reading). > Symptoms: mount /dev/sr0 will immediately spool up the cd-r/w after > 3-5 minutes of running a message is printed: media not found. Or > sometimes: too many files systems mounted, or bad block, or wrong file > system type. At this point if one does "cdrecord -scanbus" the device > will have been removed from the bus, invocation of Xcdroast will confirm > by stating :" something on the scsi bus has changed, please run config." > A reboot (hard boot) later and everything is back on the bus and > addressable, one may burn cd's but not read them from the native scsi > device. The IDE cdrom works fine and is running in scsi emulation. I > have mucked about changing /etc/fstab device names and relinking > (/dev/scd0 instead of /dev/sr0, etc.) to no difference. Also noted are > links in the home dir. that were never there before, deleting these > cause no problems but they are returned at each reboot. The mount point > "/cdrom" seems to have been added to at the time of the kernel update > also (the mount point dir. /cdrom now has a subdir. //cdrom0 which makes > no sense to me) the additional sub directory will always reinstall if > removed at subsequent reboots. > DAMN annoying, as my Microlite BackupEdge/RecoverEdge software is now an > expensive virtual boat anchor. It requires that the cdr/w device be > able to read and write. > I was thinking the there is something someplace about max_devices > sometimes needing to be reset with the 2.4.18 and upward kernels (at > least on Debian), and dim memory vaguely recollects some type of scsi > wait/time out issues with some cd devices, BUT, I am not sure where or > how to proceed. > System: Debian 3.0,2.4.19-k6, > Attached are some files I hope will be descriptive and helpful. NOTE: > these are from a state where the cd burner is recognized and would run > through cdrecord or what you will. As a quick after thought, I wonder if > perhaps the proper Cdr. device in the 2.4. series for cdrecord, > cdparanioa might not be an sg designation? If so how to set/ find proper > sg#? I've never understood the hdc: FX3400S, ATAPI CD/DVD-ROM drive > thing as it is clearly being controlled through ide_scsi and is fully > usable (being mountable as a cdrom which it is, not a cdr/w). any help > will be very welcome, I don't have a clue what next to try. tia, matthew > > ------------------------------------------------------------------------ > Character devices: > 1 mem > 2 pty/m%d > 3 pty/s%d > 4 tts/%d > 5 cua/%d > 6 lp > 7 vcs > 9 st > 10 misc > 13 input > 14 sound > 21 sg > 29 fb > 108 ppp > 116 alsa > 128 ptm > 136 pts/%d > 162 raw > 180 usb > > Block devices: > 1 ramdisk > 3 ide0 > 7 loop > 11 sr > 22 ide1 > > ------------------------------------------------------------------------ > nodev rootfs > nodev bdev > nodev proc > nodev sockfs > nodev tmpfs > nodev shm > nodev pipefs > cramfs > nodev ramfs > nodev devfs > nodev devpts > ext3 > ext2 > iso9660 > nodev usbdevfs > nodev usbfs > nodev autofs > > ------------------------------------------------------------------------ > 0000-001f : dma1 > 0020-003f : pic1 > 0040-005f : timer > 0060-006f : keyboard > 0070-007f : rtc > 0080-008f : dma page reg > 00a0-00bf : pic2 > 00c0-00df : dma2 > 00f0-00ff : fpu > 0100-0101 : OPL3-SA control > 0170-0177 : ide1 > 01f0-01f7 : ide0 > 0213-0213 : isapnp read > 02f8-02ff : serial(set) > 0300-0301 : MPU401 UART > 0376-0376 : ide1 > 0378-037a : parport0 > 0388-0389 : OPL2/3 (left) > 038a-038b : OPL2/3 (right) > 03c0-03df : vga+ > 03f6-03f6 : ide0 > 03f8-03ff : serial(set) > 0a79-0a79 : isapnp write > 0cf8-0cff : PCI conf1 > 0e84-0e87 : CS4231 > c000-cfff : PCI Bus #01 > dc00-dcff : Adaptec AHA-2930CU > ffa0-ffaf : Acer Laboratories Inc. [ALi] M5229 IDE > ffa0-ffa7 : ide0 > ffa8-ffaf : ide1 > > ------------------------------------------------------------------------ > 0 > dev_max(currently)=9 max_active_device=4 (origin 1) > scsi_dma_free_sectors=144 sg_pool_secs_aval=320 def_reserved_size=32768 > 32768 > host chan id lun type opens qdepth busy online > HP HP35480A 1009 > YAMAHA CRW2100S 1.0H > HP C7670A 3925 > MITSUMI CD-ROM FX3400S!B u01 > 0 0 0 0 1 0 2 0 1 > 0 0 4 0 5 0 2 0 1 > 0 0 6 0 3 0 2 0 1 > 1 0 0 0 5 0 5 0 1 > uid busy cpl scatg isa emul > Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8 <Adaptec 2930CU SCSI > adapter> aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs > SCSI host adapter emulation for IDE ATAPI devices > 0 0 2 128 0 0 > 0 0 5 256 0 1 > 30124 Version: 3.1.24 (20020505) > > ------------------------------------------------------------------------ > CD-ROM information, Id: cdrom.c 3.12 2000/10/18 > > drive name: sr1 sr0 > drive speed: 34 40 > drive # of slots: 1 1 > Can close tray: 1 1 > Can open tray: 1 1 > Can lock tray: 1 1 > Can change speed: 1 1 > Can select disk: 0 0 > Can read multisession: 1 1 > Can read MCN: 1 1 > Reports media changed: 1 1 > Can play audio: 1 1 > Can write CD-R: 0 1 > Can write CD-RW: 0 1 > Can read DVD: 0 0 > Can write DVD-R: 0 0 > Can write DVD-RAM: 0 0 > > ------------------------------------------------------------------------ > Cdrecord 1.11a34 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling > Using libscg version 'schily-0.6' > scsibus0: > 0,0,0 0) 'HP ' 'HP35480A ' '1009' Removable Tape > 0,1,0 1) * > 0,2,0 2) * > 0,3,0 3) * > 0,4,0 4) 'YAMAHA ' 'CRW2100S ' '1.0H' Removable CD-ROM > 0,5,0 5) * > 0,6,0 6) 'HP ' 'C7670A ' '3925' Processor > 0,7,0 7) * > scsibus1: > 1,0,0 100) 'MITSUMI ' 'CD-ROM FX3400S!B' 'u01 ' Removable CD-ROM > 1,1,0 101) * > 1,2,0 102) * > 1,3,0 103) * > 1,4,0 104) * > 1,5,0 105) * > 1,6,0 106) * > 1,7,0 107) * > > ------------------------------------------------------------------------ > Linux version 2.4.19-k6 ([EMAIL PROTECTED]) (gcc version 2.95.4 20011002 (Debian > prerelease)) #1 Sun Oct 6 19:53:19 EST 2002 > BIOS-provided physical RAM map: > BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) > BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) > BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved) > BIOS-e820: 0000000000100000 - 0000000014000000 (usable) > BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) > BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) > BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved) > user-defined physical RAM map: > user: 0000000000000000 - 000000000009fc00 (usable) > user: 000000000009fc00 - 00000000000a0000 (reserved) > user: 00000000000e0000 - 0000000000100000 (reserved) > user: 0000000000100000 - 0000000014000000 (usable) > 320MB LOWMEM available. > Advanced speculative caching feature not present > On node 0 totalpages: 81920 > zone(0): 4096 pages. > zone(1): 77824 pages. > zone(2): 0 pages. > Kernel command line: root=/dev/hda1 ro mem=327680K > Initializing CPU#0 > Detected 333.523 MHz processor. > Console: colour VGA+ 80x25 > Calibrating delay loop... 665.19 BogoMIPS > Memory: 319580k/327680k available (815k kernel code, 7712k reserved, 359k data, 72k > init, 0k highmem) > Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) > Inode cache hash table entries: 32768 (order: 6, 262144 bytes) > Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) > Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) > Page-cache hash table entries: 131072 (order: 7, 524288 bytes) > CPU: Before vendor init, caps: 008021bf 808029bf 00000000, vendor = 2 > Enabling new style K6 write allocation for 320 Mb > CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line) > CPU: After vendor init, caps: 008021bf 808029bf 00000000 00000002 > CPU: After generic, caps: 008021bf 808029bf 00000000 00000002 > CPU: Common caps: 008021bf 808029bf 00000000 00000002 > CPU: AMD-K6(tm) 3D processor stepping 0c > Checking 'hlt' instruction... OK. > POSIX conformance testing by UNIFIX > mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED]) > mtrr: detected mtrr type: AMD K6 > PCI: PCI BIOS revision 2.10 entry at 0xfdb11, last bus=1 > PCI: Using configuration type 1 > PCI: Probing PCI hardware > PCI: Using IRQ router ALI [10b9/1533] at 00:07.0 > PCI: Hardcoded IRQ 14 for device 00:0f.0 > Linux NET4.0 for Linux 2.4 > Based upon Swansea University Computer Society NET3.039 > Initializing RT netlink socket > Starting kswapd > VFS: Diskquotas version dquot_6.4.0 initialized > devfs: v1.12a (20020514) Richard Gooch ([EMAIL PROTECTED]) > devfs: boot_options: 0x0 > pty: 256 Unix98 ptys configured > Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ > SERIAL_PCI enabled > ttyS00 at 0x03f8 (irq = 4) is a 16550A > ttyS01 at 0x02f8 (irq = 3) is a 16550A > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994 > Linux port (c) 1998 Building Number Three Ltd & Jan "Yenya" Kasprzak. > NET4: Linux TCP/IP 1.0 for NET4.0 > IP Protocols: ICMP, UDP, TCP, IGMP > IP: routing cache hash table of 4096 buckets, 32Kbytes > TCP: Hash tables configured (established 32768 bind 32768) > Linux IP multicast router 0.06 plus PIM-SM > RAMDISK: cramfs filesystem found at block 0 > RAMDISK: Loading 2684 blocks [1 disk] into ram disk... > |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done. > Freeing initrd memory: 2684k freed > VFS: Mounted root (cramfs filesystem). > Freeing unused kernel memory: 72k freed > Journalled Block Device driver loaded > Uniform Multi-Platform E-IDE driver Revision: 6.31 > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > ALI15X3: IDE controller on PCI bus 00 dev 78 > PCI: Hardcoded IRQ 14 for device 00:0f.0 > ALI15X3: chipset revision 193 > ALI15X3: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA > ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio > hda: QUANTUM FIREBALL CX10.2A, ATA DISK drive > hdb: WDC WD205BA, ATA DISK drive > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx > hdc: FX3400S, ATAPI CD/DVD-ROM drive > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > ide1 at 0x170-0x177,0x376 on irq 15 > hda: 20044080 sectors (10263 MB) w/418KiB Cache, CHS=19885/16/63, UDMA(33) > hdb: 40088160 sectors (20525 MB) w/2048KiB Cache, CHS=39770/16/63, UDMA(33) > Partition check: > /dev/ide/host0/bus0/target0/lun0: [PTBL] [1247/255/63] p1 p2 < p5 p6 p7 > p3 p4 > /dev/ide/host0/bus0/target1/lun0:hdb: dma_intr: status=0x51 { DriveReady > SeekComplete Error } > hdb: dma_intr: error=0x84 { DriveStatusError BadCRC } > hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error } > hdb: dma_intr: error=0x84 { DriveStatusError BadCRC } > hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error } > hdb: dma_intr: error=0x84 { DriveStatusError BadCRC } > hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error } > hdb: dma_intr: error=0x84 { DriveStatusError BadCRC } > hda: DMA disabled > ide0: reset: success > p1 p2 p3 p4 > ext3: No journal on filesystem on ide0(3,1) > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. > Adding Swap: 329324k swap-space (priority -1) > Adding Swap: 321292k swap-space (priority -2) > Real Time Clock Driver v1.10e > loop: loaded (max 8 devices) > SCSI subsystem driver Revision: 1.00 > PCI: Found IRQ 9 for device 00:12.0 > scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8 > <Adaptec 2930CU SCSI adapter> > aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs > > Vendor: HP Model: HP35480A Rev: 1009 > Type: Sequential-Access ANSI SCSI revision: 02 > (scsi0:A:0): 5.000MB/s transfers (5.000MHz, offset 8) > Vendor: YAMAHA Model: CRW2100S Rev: 1.0H > Type: CD-ROM ANSI SCSI revision: 02 > (scsi0:A:4): 20.000MB/s transfers (20.000MHz, offset 7) > Vendor: HP Model: C7670A Rev: 3925 > Type: Processor ANSI SCSI revision: 02 > st: Version 20020205, bufsize 32768, wrt 30720, max init. bufs 4, s/g segs 16 > Attached scsi tape st0 at scsi0, channel 0, id 0, lun 0 > Attached scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0 > Attached scsi generic sg2 at scsi0, channel 0, id 6, lun 0, type 3 > sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray > Uniform CD-ROM driver Revision: 3.12 > parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] > parport0: irq 7 detected > parport0: Printer, HEWLETT-PACKARD DESKJET 1220C > lp0: using parport0 (polling). > scsi1 : SCSI host adapter emulation for IDE ATAPI devices > Vendor: MITSUMI Model: CD-ROM FX3400S!B Rev: u01 > Type: CD-ROM ANSI SCSI revision: 02 > Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0 > sr1: scsi3-mmc drive: 34x/34x cd/rw xa/form2 cdda tray > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > PCI: Found IRQ 10 for device 00:02.0 > usb-ohci.c: USB OHCI at membase 0xd494c000, IRQ 10 > usb-ohci.c: usb-00:02.0, Acer Laboratories Inc. [ALi] USB 1.1 Controller > usb.c: new USB bus registered, assigned bus number 1 > hub.c: USB hub found > hub.c: 2 ports detected > mice: PS/2 mouse device common for all mice > > ------------------------------------------------------------------------ > /dev/sr0 /cdrom iso9660 defaults,noauto,user,exec,rw 0 0 > /dev/scd1 /cdrom1 iso9660 defaults,ro,noauto,user,exec 0 0
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]