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 09-14-2007, 09:22 PM   #1
Perps
Member
 
Registered: Apr 2006
Distribution: openSUSE 10.2
Posts: 62

Rep: Reputation: 16
Adaptec AHA-2940U2/U2W SCSI controller on Ubuntu 6.1


Greetings to all.

I was wondering if anyone could provide any advice as to how to go about setting up a SCSI controller on a headless install of Ubuntu 6.1 server (2.6.17-10-powerpc kernel). The controller card is being detected properly, as lspci yields the following:

Code:
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth PCI
0001:10:0d.0 PCI bridge: Digital Equipment Corporation DECchip 21154 (rev 05)
0001:11:02.0 SCSI storage controller: Adaptec AHA-2940U2/U2W
0001:11:07.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 03)
0001:11:08.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:11:09.0 USB Controller: Apple Computer Inc. KeyLargo USB
0001:11:0a.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link)
0002:21:0b.0 Host bridge: Apple Computer Inc. UniNorth Internal PCI
0002:21:0f.0 Ethernet controller: Apple Computer Inc. UniNorth GMAC (Sun GEM) (rev 01)
I've done some reading, and apparently the Adaptec AHA-2940U2/U2W uses the aic7xxx driver, which I have successfully loaded using modprobe aic7xxx, such that lsmod now lists it as being present.

What do I do from this point? There are three 16GB hard drives attached to the SCSI card, and I want to know how to access them. Can anyone provide any information?

Many thanks,

- Perps.
 
Old 09-15-2007, 06:26 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Since you loaded the module run this command as root to see if they are found.
/sbin/fdisk -l

Also info from dmesg command can help.

What you are looking for if you have no other scsi, USB, Firewire, Sata or IDE drives running under pata mode sata module is /dev/sda for the first drive. /dev/sdb for the second and so on.

Brian
 
Old 09-15-2007, 09:04 PM   #3
Perps
Member
 
Registered: Apr 2006
Distribution: openSUSE 10.2
Posts: 62

Original Poster
Rep: Reputation: 16
Thanks for the reply Brian1.

sudo /sbin/fdisk -l yields the following:

Code:
/dev/hda
        #                    type name                 length   base     ( size )  system
/dev/hda1     Apple_partition_map Apple                    63 @ 1        ( 31.5k)  Partition map
/dev/hda2         Apple_Bootstrap untitled               1954 @ 64       (977.0k)  NewWorld bootblock
/dev/hda3         Apple_UNIX_SVR2 untitled           57136719 @ 2018     ( 27.2G)  Linux native
/dev/hda4         Apple_UNIX_SVR2 swap                1494607 @ 57138737 (729.8M)  Linux swap

Block size=512, Number of Blocks=58633344
DeviceType=0x0, DeviceId=0x0
dmesg as follows:

Code:
[    0.000000] Using PowerMac machine description
[    0.000000] Total memory = 256MB; using 512kB for hash table (at cff80000)
[    0.000000] Linux version 2.6.17-10-powerpc (root@royal) (gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)) #2 Tue Dec 5 22:00:09 UTC 2006 (Ubuntu 2.6.17-10.34-powerpc)
[    0.000000] Found initrd at 0xc1900000:0xc1ea4000
[    0.000000] Found UniNorth memory controller & host bridge @ 0xf8000000 revision: 0x08
[    0.000000] Mapped at 0xfdfc0000
[    0.000000] Found a Keylargo mac-io controller, rev: 3, mapped at 0xfdf40000
[    0.000000] PowerMac motherboard: PowerMac G4 AGP Graphics
[    0.000000] Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
[    0.000000] Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->1
[    0.000000] Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
[    0.000000] via-pmu: Server Mode is disabled
[    0.000000] PMU driver v2 initialized for Core99, firmware: 0c
[    0.000000] nvram: Checking bank 0...
[    0.000000] nvram: gen0=60, gen1=59
[    0.000000] nvram: Active bank is: 0
[    0.000000] nvram: OF partition at 0x210
[    0.000000] nvram: XP partition at 0x1220
[    0.000000] nvram: NR partition at 0x1320
[    0.000000] Top of RAM: 0x10000000, Total RAM: 0x10000000
[    0.000000] Memory hole size: 0MB
[    0.000000] On node 0 totalpages: 65536
[    0.000000]   DMA zone: 65536 pages, LIFO batch:15
[    0.000000] Built 1 zonelists
[    0.000000] Kernel command line: root=/dev/hda3 ro quiet splash 
[    0.000000] mpic: Setting up MPIC " MPIC 1   " version 1.2 at 80040000, max 4 CPUs
[    0.000000] mpic: ISU size: 64, shift: 6, mask: 3f
[    0.000000] mpic: Initializing for 64 sources
[    0.000000] PID hash table entries: 2048 (order: 11, 8192 bytes)
[    0.000000] GMT Delta read from XPRAM: 480 minutes, DST: off
[    0.000000] time_init: decrementer frequency = 24.907533 MHz
[    0.000000] time_init: processor frequency   = 450.000000 MHz
[   30.980693] Console: colour dummy device 80x25
[   30.981105] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[   30.981598] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[   31.002886] High memory: 0k
[   31.002901] Memory: 249532k/262144k available (2748k kernel code, 12280k reserved, 432k data, 300k bss, 172k init)
[   31.003173] Calibrating delay loop... 49.66 BogoMIPS (lpj=99328)
[   31.080478] Security Framework v1.0.0 initialized
[   31.080505] SELinux:  Disabled at boot.
[   31.080548] Mount-cache hash table entries: 512
[   31.080923] device-tree: Duplicate name in /cpus/PowerPC,G4@0, renamed to "l2-cache#1"
[   31.081024] device-tree: Duplicate name in /cpus/PowerPC,G4@1, renamed to "l2-cache#1"
[   31.083103] checking if image is initramfs... it is
[   32.619288] Freeing initrd memory: 5776k freed
[   32.621245] NET: Registered protocol family 16
[   32.621607] KeyWest i2c @0xf8001003 irq 42 /uni-n@f8000000/i2c@f8001000
[   32.621623]  channel 0 bus <multibus>
[   32.621630]  channel 1 bus <multibus>
[   32.621663] KeyWest i2c @0x80018000 irq 26 /pci@f2000000/pci-bridge@d/mac-io@7/i2c@18000
[   32.621674]  channel 0 bus <multibus>
[   32.621705] PMU i2c /pci@f2000000/pci-bridge@d/mac-io@7/via-pmu@16000
[   32.621715]  channel 1 bus <multibus>
[   32.621722]  channel 2 bus <multibus>
[   32.621789] PCI: Probing PCI hardware
[   32.626369] NET: Registered protocol family 2
[   32.656519] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[   32.656758] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[   32.656869] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[   32.656923] TCP: Hash tables configured (established 8192 bind 4096)
[   32.656933] TCP reno registered
[   32.657000] Thermal assist unit using timers, shrink_timer: 500 jiffies
[   32.659085] audit: initializing netlink socket (disabled)
[   32.659119] audit(1189907464.675:1): initialized
[   32.659391] VFS: Disk quotas dquot_6.5.1
[   32.659446] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   32.659592] Initializing Cryptographic API
[   32.659610] io scheduler noop registered
[   32.659627] io scheduler anticipatory registered
[   32.659643] io scheduler deadline registered
[   32.659678] io scheduler cfq registered (default)
[   32.660247] PCI: Enabling device 0000:00:10.0 (0086 -> 0087)
[   32.661148] aty128fb: Invalid ROM signature 1111 should  be 0xaa55
[   32.661169] aty128fb: BIOS not located, guessing timings.
[   32.661187] aty128fb: Rage128 PF PRO AGP [chip rev 0x1] 16M 128-bit SDR SGRAM (1:1)
[   32.695794] Console: switching to colour frame buffer device 128x48
[   32.695819] fb0: ATY Rage128 frame buffer device on Rage128 PF PRO AGP
[   32.783337] Generic RTC Driver v1.07
[   32.783456] Macintosh non-volatile memory driver v1.1
[   32.783727] mice: PS/2 mouse device common for all mice
[   32.785674] RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
[   32.786443] MacIO PCI driver attached to Keylargo chipset
[   32.789115] input: Macintosh mouse button emulation as /class/input/input0
[   32.789509] Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
[   32.789525] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[   32.789680] adb: starting probe task...
[   32.789697] adb: finished probe task...
[   33.808391] ide0: Found Apple KeyLargo ATA-4 controller, bus ID 2, irq 19
[   33.808420] Probing IDE interface ide0...
[   34.096690] hda: QUANTUM FIREBALLP LM30.0, ATA DISK drive
[   34.768400] hda: Enabling Ultra DMA 4
[   34.769471] ide0 at 0xd1014000-0xd1014007,0xd1014160 on irq 19
[   35.788384] ide1: Found Apple KeyLargo ATA-3 controller, bus ID 0, irq 20
[   35.788406] Probing IDE interface ide1...
[   69.575546] ide1: Wait for ready failed before probe !
[   79.988323] hdc: no response (status = 0x80), resetting drive
[  115.212275] hdc: no response (status = 0x80)
[  116.568276] ide2: Found Apple KeyLargo ATA-3 controller, bus ID 1, irq 21
[  116.568295] Probing IDE interface ide2...
[  117.136591] PowerMac i2c bus pmu 2 registered
[  117.136725] PowerMac i2c bus pmu 1 registered
[  117.136852] PowerMac i2c bus mac-io 0 registered
[  117.136993] PowerMac i2c bus uni-n 1 registered
[  117.137126] PowerMac i2c bus uni-n 0 registered
[  117.137412] TCP bic registered
[  117.137432] NET: Registered protocol family 1
[  117.137451] NET: Registered protocol family 8
[  117.137459] NET: Registered protocol family 20
[  117.137601] Freeing unused kernel memory: 172k init
[  117.310616] Capability LSM initialized
[  118.804043] hda: max request size: 128KiB
[  118.840148] hda: 58633344 sectors (30020 MB) w/1900KiB Cache, CHS=58168/16/63, UDMA(66)
[  118.840179] hda: cache flushes not supported
[  118.840330]  hda:<5>SCSI subsystem initialized
[  119.343814] aic7xxx: PCI17:2:0 MEM region 0x0 unavailable. Cannot memory map device.
[  119.343835] aic7xxx: PCI17:2:0 IO region 0x0[0..255] unavailable. Cannot map device.
[  119.343854] aic7xxx: probe of 0001:11:02.0 failed with error -12
[  119.344924]  [mac] hda1 hda2 hda3 hda4
[  120.050711] usbcore: registered new driver usbfs
[  120.052580] usbcore: registered new driver hub
[  120.059807] ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
[  120.061742] PCI: Enabling device 0001:11:08.0 (0000 -> 0002)
[  120.061788] ohci_hcd 0001:11:08.0: OHCI Host Controller
[  120.062518] ohci_hcd 0001:11:08.0: new USB bus registered, assigned bus number 1
[  120.062569] ohci_hcd 0001:11:08.0: irq 27, io mem 0x80083000
[  120.750750] usb usb1: configuration #1 chosen from 1 choice
[  120.751198] hub 1-0:1.0: USB hub found
[  120.751237] hub 1-0:1.0: 2 ports detected
[  120.775987] ieee1394: Initialized config rom entry `ip1394'
[  120.789227] Attempting manual resume
[  120.867165] PCI: Enabling device 0001:11:09.0 (0000 -> 0002)
[  120.867211] ohci_hcd 0001:11:09.0: OHCI Host Controller
[  120.867667] ohci_hcd 0001:11:09.0: new USB bus registered, assigned bus number 2
[  120.867733] ohci_hcd 0001:11:09.0: irq 28, io mem 0x80082000
[  120.903130] kjournald starting.  Commit interval 5 seconds
[  120.903172] EXT3-fs: mounted filesystem with ordered data mode.
[  121.041324] usb usb2: configuration #1 chosen from 1 choice
[  121.041895] hub 2-0:1.0: USB hub found
[  121.041934] hub 2-0:1.0: 2 ports detected
[  121.144601] PCI: Enabling device 0001:11:0a.0 (0010 -> 0012)
[  121.194297] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[63]  MMIO=[80081000-800817ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
[  121.464301] usb 2-1: new full speed USB device using ohci_hcd and address 2
[  121.673549] usb 2-1: configuration #1 chosen from 1 choice
[  122.468899] ieee1394: Host added: ID:BUS[0-00:1023]  GUID[003065fffeb4fc08]
[  129.610942] ts: Compaq touchscreen protocol output
[  129.705345] Linux agpgart interface v0.101 (c) Dave Jones
[  129.718408] agpgart: Detected Apple UniNorth chipset
[  129.718536] agpgart: configuring for size idx: 4
[  129.722928] agpgart: AGP aperture is 16M @ 0x0
[  129.817222] sungem.c:v0.98 8/24/03 David S. Miller (davem@redhat.com)
[  129.932654] PHY ID: 206047, addr: 0
[  129.938541] eth0: Sun GEM (PCI) 10/100/1000BaseT Ethernet 00:30:65:b4:fc:08 
[  129.938564] eth0: Found BCM5400 PHY
[  130.963861] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[  130.963975] pmac_zilog: i2c-modem detected, id: 1
[  130.964041] ttyS0 at MMIO 0x80013020 (irq = 22) is a Z85c30 ESCC - Internal modem
[  130.968018] ttyS1 at MMIO 0x80013000 (irq = 50) is a Z85c30 ESCC - Serial port
[  132.332465] eth0: Link is up at 100 Mbps, full-duplex.
[  134.346886] drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x03F0 pid 0x8604
[  134.346933] usbcore: registered new driver usblp
[  134.346945] drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[  135.171212] eth0: Link is up at 100 Mbps, full-duplex.
[  135.171233] eth0: Pause is disabled
[  135.858251] apm_emu: APM Emulation 0.5 initialized.
[  135.940563] ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
[  135.940583] ieee1394: sbp2: Try serialize_io=0 for better performance
[  136.321573] NET: Registered protocol family 10
[  136.321850] lo: Disabled Privacy Extensions
[  136.322251] IPv6 over IPv4 tunneling driver
[  137.346534] input: PowerMac Beep as /class/input/input1
[  138.141924] Adding 747292k swap on /dev/disk/by-uuid/4cddfd87-fc24-490c-8db2-0d779d0c09de.  Priority:-1 extents:1 across:747292k
[  138.386191] EXT3 FS on hda3, internal journal
[  146.476246] eth0: no IPv6 routers present
[  147.980581] lp: driver loaded but no devices found
[  148.237073] ppdev: user-space parallel port driver
[  153.461003] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[  153.856204] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[  153.866826] NFSD: starting 90-second grace period
No sda, sdb etc as far as I can see. Any ideas?

Many thanks,

- Perps.
 
Old 09-16-2007, 04:10 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
This is beyond me as to the errors listed in the dmesg output. You might google for the error message or portions of it. Also contact the developers of the module.

Brian
 
  


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
Installing with a Adaptec aha-2940u2b SCSI HD Controller Zaskar Debian 0 07-30-2007 12:24 PM
Adaptec 29320A-R SCSI controller: Slack 10.1 ok? svar Slackware 6 06-10-2005 02:24 AM
SUSE Linux 8.2 / Installation of SCSI Card Adaptec AHA-2940 byfaithalone Linux - Hardware 0 11-06-2003 03:11 PM
Driver for a adaptec AHA1530P SCSI controller vavoem Linux - Hardware 0 10-22-2003 01:47 PM
Adaptec AHA 2940 SCSI adapter slightcrazed Linux - Hardware 1 08-28-2003 11:05 AM

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

All times are GMT -5. The time now is 11:43 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