LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-16-2004, 08:15 AM   #1
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Rep: Reputation: 15
Finding my CDROM


Hi,

After a very steep learning curve, I seem to have managed to compile a custom kernel (2.4.22) for my box. It's a rather ancient beast that I use for playing with. I have the SMP support, RAID (DAC960) support and CD-ROM (TEAC hanging off an Adaptec card) working (I think!!!) but I have no idea what device the CD-ROM is so that I can mount it!

Can anyone help?

The output of dmesg is:-

-------------------------

Linux version 2.4.22416 (root@testdblin) (gcc version 3.2.3) #1 SMP Fri Apr 16 11:57:02 BST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 0000000000100000 - 0000000012000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec00400 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffe80000 - 0000000100000000 (reserved)
288MB LOWMEM available.
found SMP MP-table at 000f7c90
hm, page 000f7000 reserved twice.
hm, page 000f8000 reserved twice.
hm, page 000f7000 reserved twice.
hm, page 000f8000 reserved twice.
On node 0 totalpages: 73728
zone(0): 4096 pages.
zone(1): 69632 pages.
zone(2): 0 pages.
DMI not present.
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: INTEL Product ID: XXPRESS APIC at: 0xFEE00000
Processor #0 Pentium(tm) APIC version 16
Processor #3 Pentium(tm) APIC version 16
Unknown bustype XPRESS - ignoring
I/O APIC #14 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat. Using 1 I/O APICs
Processors: 2
Kernel command line: root=/dev/rd/c0d1p1 ro BOOT_IMAGE=bzimage
Initializing CPU#0
Detected 166.675 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 331.77 BogoMIPS
Memory: 288272k/294912k available (1807k kernel code, 6252k reserved, 684k data, 116k 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: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After generic, caps: 000003bf 00000000 00000000 00000000
CPU: Common caps: 000003bf 00000000 00000000 00000000
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
CPU: After generic, caps: 000003bf 00000000 00000000 00000000
CPU: Common caps: 000003bf 00000000 00000000 00000000
CPU0: Intel Pentium 75 - 200 stepping 0c
per-CPU timeslice cutoff: 159.89 usecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000040
ESR value after enabling vector: 00000000
Booting processor 1/3 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 332.59 BogoMIPS
CPU: After generic, caps: 000003bf 00000000 00000000 00000000
CPU: Common caps: 000003bf 00000000 00000000 00000000
CPU1: Intel Pentium 75 - 200 stepping 0c
Total of 2 processors activated (664.37 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 14 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 14 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 14-0 not connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
number of MP IRQ sources: 15.
number of IO-APIC #14 registers: 16.
testing the IO APIC.......................

IO APIC #14......
.... register #00: 0E000000
....... : physical APIC id: 0E
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 00000000
....... : arbitration: 00
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 003 03 0 0 0 0 0 1 1 31
03 003 03 0 0 0 0 0 1 1 41
04 003 03 0 0 0 0 0 1 1 49
05 003 03 1 1 0 0 0 1 1 51
06 003 03 0 0 0 0 0 1 1 59
07 003 03 0 0 0 0 0 1 1 61
08 003 03 0 0 0 0 0 1 1 69
09 003 03 1 1 0 0 0 1 1 71
0a 003 03 1 1 0 0 0 1 1 79
0b 003 03 1 1 0 0 0 1 1 81
0c 003 03 0 0 0 0 0 1 1 89
0d 003 03 0 0 0 0 0 1 1 91
0e 003 03 0 0 0 0 0 1 1 99
0f 003 03 0 0 0 0 0 1 1 A1
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 166.6843 MHz.
..... host bus clock speed is 66.6736 MHz.
cpu: 0, clocks: 666736, slice: 222245
CPU0<T0:666736,T1:444480,D:11,S:222245,C:666736>
cpu: 1, clocks: 666736, slice: 222245
CPU1<T0:666736,T1:222240,D:6,S:222245,C:666736>
checking TSC synchronization across CPUs:
BIOS BUG: CPU#0 improperly initialized, has 241 usecs TSC skew! FIXED.
BIOS BUG: CPU#1 improperly initialized, has -241 usecs TSC skew! FIXED.
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfcec1, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Discovered peer bus 01
PCI: Cannot allocate resource region 1 of device 00:0f.0
PCI: Cannot allocate resource region 2 of device 00:0f.0
PCI: Cannot allocate resource region 3 of device 00:0f.0
PCI: Cannot allocate resource region 4 of device 00:0f.0
PCI: Cannot allocate resource region 5 of device 00:0f.0
PCI: Error while updating region 00:0f.0/1 (12000008 != 00800103)
PCI: Error while updating region 00:0f.0/2 (12000408 != 00800103)
PCI: Error while updating region 00:0f.0/3 (12000808 != 00800103)
PCI: Error while updating region 00:0f.0/4 (12000c08 != 00800103)
PCI: Error while updating region 00:0f.0/5 (12001008 != 00800103)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 82078.
loop: loaded (max 8 devices)
DAC960: ***** DAC960 RAID Driver Version 2.4.11 of 11 October 2001 *****
DAC960: Copyright 1998-2001 by Leonard N. Zubkoff <lnz@dandelion.com>
DAC960#0: Configuring Mylex DAC960PD PCI RAID Controller
DAC960#0: Firmware Version: 2.73-0-00, Channels: 3, Memory Size: 4MB
DAC960#0: PCI Bus: 1, Device: 12, Function: 0, I/O Address: 0xFC80
DAC960#0: PCI Address: 0xFFCFFC00 mapped at 0xD280DC00, IRQ Channel: 11
DAC960#0: Controller Queue Depth: 64, Maximum Blocks per Command: 128
DAC960#0: Driver Queue Depth: 63, Scatter/Gather Limit: 17 of 17 Segments
DAC960#0: Stripe Size: 8KB, Segment Size: 8KB, BIOS Geometry: 128/32
DAC960#0: Physical Devices:
DAC960#0: 0:0 Vendor: FUJITSU Model: M2949E-512 Revision: 0155
DAC960#0: Serial Number: 00004473
DAC960#0: Disk Status: Online, 17780736 blocks
DAC960#0: 0:1 Vendor: FUJITSU Model: M2949E-512 Revision: 0155
DAC960#0: Serial Number: 00004479
DAC960#0: Disk Status: Online, 17780736 blocks
DAC960#0: 0:3 Vendor: FUJITSU Model: M2949E-512 Revision: 0177
DAC960#0: Serial Number: 00003113
DAC960#0: Disk Status: Online, 17780736 blocks
DAC960#0: 0:4 Vendor: FUJITSU Model: M2949E-512 Revision: 0164
DAC960#0: Serial Number: 00007174
DAC960#0: Disk Status: Online, 17780736 blocks
DAC960#0: 0:5 Vendor: FUJITSU Model: MAH3091MC Revision: 0114
DAC960#0: Serial Number: 50023096
DAC960#0: Disk Status: Online, 17848320 blocks
DAC960#0: 0:6 Vendor: FUJITSU Model: MAH3091MC Revision: 0114
DAC960#0: Serial Number: 50023079
DAC960#0: Disk Status: Online, 17848320 blocks
DAC960#0: Logical Drives:
DAC960#0: /dev/rd/c0d0: RAID-5, Online, 3409920 blocks, Write Thru
DAC960#0: /dev/rd/c0d1: RAID-5, Online, 59729920 blocks, Write Thru
DAC960#0: /dev/rd/c0d2: RAID-5, Online, 25763840 blocks, Write Thru
Partition check:
rd/c0d0: rd/c0d0p1
rd/c0d1: rd/c0d1p1
rd/c0d2: rd/c0d2p1
eepro100.c:v1.09j-t 9/29/99
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eth0: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:D0:B7:5A:AF:0C, IRQ 10.
Board assembly 721383-008, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x04f4518b).
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 233M
agpgart: no supported devices found.
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] Initialized radeon 1.1.1 20010405 on minor 1
[drm:drm_init] *ERROR* Cannot initialize the agpgart module.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SCSI subsystem driver Revision: 1.00
ahc_pci:1:13:0: Using left over BIOS settings
ahc_pci:1:14:0: Using left over BIOS settings
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7870 SCSI adapter>
aic7870: Wide Channel A, SCSI Id=7, 16/253 SCBs

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec aic7870 SCSI adapter>
aic7870: Wide Channel A, SCSI Id=7, 16/253 SCBs

(scsi1:A:2): 10.000MB/s transfers (10.000MHz, offset 15)
Vendor: TEAC Model: CD-ROM CD-532S Rev: 1.0A
Type: CD-ROM ANSI SCSI revision: 02
es1371: version v0.32 time 12:19:30 Apr 16 2004
usb.c: registered new driver hub
host/uhci.c: USB Universal Host Controller Interface driver v1.1
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 116k freed
Adding Swap: 12881896k swap-space (priority -1)
end_request: I/O error, dev 02:00 (floppy), sector 0
end_request: I/O error, dev 02:00 (floppy), sector 0

---------------------------

Many thanks,

Paul
 
Old 04-16-2004, 08:51 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
might be /dev/scd0
 
Old 04-16-2004, 08:56 AM   #3
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Original Poster
Rep: Reputation: 15
Thanks, but I don't think it can be

In my fstab, there is the line:

/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

/dev/cdrom is a link to /dev/scd0

if I try to mount /mnt/cdrom, I get the error message:

mount: /dev/cdrom is not a valid block device

So I am assuming that /dev/scd0 is the wrong device (or there is another problem....?)

Any other ideas?

Paul
 
Old 04-16-2004, 09:04 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you could have left some crap out in your kernel config about scsi cdroms, but let somebody else give it a shot. i've got to go.
 
Old 04-16-2004, 09:34 AM   #5
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
(scsi1:A:2): 10.000MB/s transfers (10.000MHz, offset 15)
Vendor: TEAC Model: CD-ROM CD-532S Rev: 1.0A
Type: CD-ROM ANSI SCSI revision: 02

possibly scsi1

but yeah, check that you compiled in the necessary scsi drivers in your kernel. looks to me like thats ok, though
 
Old 04-19-2004, 10:05 AM   #6
Paulsuk
Member
 
Registered: Jan 2004
Distribution: LFS
Posts: 91

Original Poster
Rep: Reputation: 15
Stoopid me!

Thanks to everyone whop has had a look at this for me. Problem now solved!

It turned out that even though I had compiled support for the Adaptec and for the ISO filesystem, I hadn't included support for CD-ROMs.... OOps!

Thanks again,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wine not finding my cdrom Vindane Linux - Software 2 03-04-2005 03:55 PM
Finding the CDROM rmartine Linux - Newbie 2 01-31-2005 06:33 PM
trouble finding cdrom techrolla Linux - Newbie 2 05-03-2004 11:33 PM
finding cdrom - slack9.1 joshurl Linux - Laptop and Netbook 0 03-09-2004 05:33 PM
finding a CDRom e1000 Linux - Hardware 1 02-21-2004 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration