[Eug-lug] grrrr.... damn computers! current dmesg included!

Linux Rocks! linux at rocksolidnetworks.com
Tue Jan 4 22:30:40 PST 2005


On Wednesday 05 January 2005 02:07 am, Mr O wrote:
: Software RAID is more of a pain in the arse to get going on your
: boot drives. I do as BobC does and have a seperate boot drive
: for the OS and soft mirrored drives for the data. Odds are if
: it's in the kernel all you have to do is build it in instead of
: a module and DON"T FORGET TO ADD RAID SUPPORT (a mistake I've
: done rebuilding kernels forcing to drop in and rebuild again),
: and the drives should pick up on boot. I wouldn't mind taking a
: look at it for you some time. I just need to be a little less
: busy.

Heh.. Thanks for the tip, yes, I did enable the raid support for raid-0, and 
the devicemapper. I changed it to in the kernel (was module), and recompiled 
my kernel/modules/initrd/lilo... heres my current dmesg:

So, If you look at my dmesg below ... just below:
libata version 1.10 loaded.
You will see where the sis 180 controller should be displaying my hard 
disks...

as a reference, heres a link to a person with a different problem, but you can 
see his drives are found.
http://www.linuxquestions.org/archive/13/2004/03/4/161556


Below is my dmesg, lspci, cat /proc/devices, lscpi -vv ...
Linux version 2.6.10T1 (root at media) (gcc version 3.3.4) #3 SMP Tue Jan 4 
23:41:38 PST 2005
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000003bef0000 (usable)
 BIOS-e820: 000000003bef0000 - 000000003bef3000 (ACPI NVS)
 BIOS-e820: 000000003bef3000 - 000000003bf00000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
62MB HIGHMEM available.
896MB LOWMEM available.
found SMP MP-table at 000f57d0
On node 0 totalpages: 245488
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 225280 pages, LIFO batch:16
  HighMem zone: 16112 pages, LIFO batch:3
DMI 2.3 present.
ACPI: RSDP (v000 RS300                                 ) @ 0x000f7330
ACPI: RSDT (v001 RS300  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3bef3000
ACPI: FADT (v001 RS300  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3bef3040
ACPI: MADT (v001 RS300  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3bef6940
ACPI: DSDT (v001 RS300  AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:3 APIC version 20
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1 15:3 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Processors: 2
Built 1 zonelists
Kernel command line: auto BOOT_IMAGE=Linux ro root=301
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Initializing CPU#0
CPU 0 irqstacks, hard=c053c000 soft=c0534000
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 3208.400 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 968012k/981952k available (2939k kernel code, 13444k reserved, 1103k 
data, 236k init, 64448k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 6356.99 BogoMIPS (lpj=3178496)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps:  bfebfbff 00000000 00000000 00000000
monitor/mwait feature present.
using mwait in idle threads.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: After all inits, caps:        bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel(R) Pentium(R) 4 CPU 3.20GHz stepping 03
per-CPU timeslice cutoff: 2925.88 usecs.
task migration cache decay timeout: 3 msecs.
Booting processor 1/1 eip 2000
CPU 1 irqstacks, hard=c053d000 soft=c0535000
Initializing CPU#1
Calibrating delay loop... 6406.14 BogoMIPS (lpj=3203072)
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
CPU: After vendor identify, caps:  bfebfbff 00000000 00000000 00000000
monitor/mwait feature present.
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: Physical Processor ID: 0
CPU: After all inits, caps:        bfebfbff 00000000 00000000 00000080
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#1.
CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
CPU1: Thermal monitoring enabled
CPU1: Intel(R) Pentium(R) 4 CPU 3.20GHz stepping 03
Total of 2 processors activated (12763.13 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=0
checking TSC synchronization across 2 CPUs: passed.
Brought up 2 CPUs
CPU0:
 domain 0: span 03
  groups: 01 02
  domain 1: span 03
   groups: 03
CPU1:
 domain 0: span 03
  groups: 02 01
  domain 1: span 03
   groups: 03
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb6e0, last bus=2
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xc00fc0f0
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xc120, dseg 0xf0000
PnPBIOS: 13 nodes reported by PnP BIOS; 13 recorded by driver
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
PCI: Transparent bridge - 0000:00:14.4
PCI: Using IRQ router default [1002/5833] at 0000:00:00.0
PCI->APIC IRQ transform: (B0,I13,P0) -> 19
PCI->APIC IRQ transform: (B0,I19,P0) -> 19
PCI->APIC IRQ transform: (B0,I19,P0) -> 19
PCI->APIC IRQ transform: (B0,I19,P0) -> 19
PCI->APIC IRQ transform: (B0,I20,P0) -> 18
PCI->APIC IRQ transform: (B0,I20,P1) -> 18
PCI->APIC IRQ transform: (B1,I5,P0) -> 16
PCI->APIC IRQ transform: (B2,I3,P0) -> 16
PCI->APIC IRQ transform: (B2,I3,P0) -> 16
PCI->APIC IRQ transform: (B2,I4,P0) -> 17
PCI->APIC IRQ transform: (B2,I9,P0) -> 17
PCI->APIC IRQ transform: (B2,I10,P0) -> 18
Machine check exception polling timer started.
audit: initializing netlink socket (disabled)
audit(1104882289.669:0): initialized
highmem bounce pool size: 64 pages
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
lp0: using parport0 (interrupt-driven).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
elevator: using anticipatory as default io scheduler
FDC 0 is a post-1991 82077
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: Maxtor 6Y160P0, ATA DISK drive
Probing IDE interface ide1...
hdc: LITE-ON DVDRW LDW-851S, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63
hda: cache flushes supported
 hda: hda1
hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
libata version 1.10 loaded.
ata1: SATA max UDMA/133 cmd 0x9400 ctl 0x9802 bmdma 0xA400 irq 18
ata2: SATA max UDMA/133 cmd 0x9C00 ctl 0xA002 bmdma 0xA408 irq 18
ata1: no device found (phy stat 00000000)
scsi0 : sata_sis
ata2: no device found (phy stat 00000000)
scsi1 : sata_sis
ohci1394: $Rev: 1223 $ Ben Collins <bcollins at debian.org>
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[17]  MMIO=[e0022000-e00227ff]  
Max Packet=[2048]
ieee1394: raw1394: /dev/raw1394 device initialized
ehci_hcd 0000:00:13.2: PCI device 1002:4345 (ATI Technologies Inc)
ehci_hcd 0000:00:13.2: irq 19, pci mem 0xe1105000
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:13.2: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v2.2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
md: raid0 personality registered as nr 2
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.3.0-ioctl (2004-09-30) initialised: dm-devel at redhat.com
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 
2004 UTC).
ALSA device list:
  No soundcards found.
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
ip_conntrack version 2.1 (7671 buckets, 61368 max) - 304 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost at snowman.net>.  http://snowman.net/
projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
Starting balanced_irq
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e01800006091f6]
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 
18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 236k freed
eth0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
      PrefPort:A  RlmtMode:Check Link State
eth0: network connection up using port A
    speed:           100
    autonegotiation: yes
    duplex mode:     full
    flowctrl:        symmetric
    irq moderation:  disabled
    scatter-gather:  enabled


lspci, the last line is the sis 180

00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5833 (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5838
00:0d.0 Ethernet controller: Marvell Yukon Gigabit Ethernet 10/100/1000Base-T 
Adapter (rev 13)
00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4347 (rev 01)
00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4348 (rev 01)
00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4345 (rev 01)
00:14.0 SMBus: ATI Technologies Inc ATI SMBus (rev 18)
00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4349
00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 434c
00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4342
00:14.5 Multimedia audio controller: ATI Technologies Inc SoundMAX Integrated 
Digital Audio
01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5834
02:03.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture 
(rev 02)
02:03.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 
02)
02:04.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless 
Interface
02:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller 
(rev 80)
02:0a.0 RAID bus controller: Silicon Integrated Systems [SiS]: Unknown device 
0180

cat /proc/interrupts
           CPU0       CPU1       
  0:    1919121          0    IO-APIC-edge  timer
  1:          9          0    IO-APIC-edge  i8042
  2:          0          0          XT-PIC  cascade
  7:          0          0    IO-APIC-edge  parport0
 12:         59          0    IO-APIC-edge  i8042
 14:      18343          1    IO-APIC-edge  ide0
 15:         13          0    IO-APIC-edge  ide1
 17:          2          0   IO-APIC-level  ohci1394
 18:          0          0   IO-APIC-level  libata
 19:      52964          0   IO-APIC-level  ehci_hcd, SysKonnect SK-98xx
NMI:          0          0 
LOC:    1920947    1944807 
ERR:          0
MIS:          0



lspci -vv (most was snipped out, i just included the sis 180 part.

02:0a.0 RAID bus controller: Silicon Integrated Systems [SiS]: Unknown device 
0180 (prog-if 85)
	Subsystem: Asustek Computer, Inc.: Unknown device 8112
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- 
<MAbort- >SERR- <PERR-
	Latency: 128
	Interrupt: pin A routed to IRQ 18
	Region 0: I/O ports at 9400 [size=8]
	Region 1: I/O ports at 9800 [size=4]
	Region 2: I/O ports at 9c00 [size=8]
	Region 3: I/O ports at a000 [size=4]
	Region 4: I/O ports at a400 [size=16]
	Region 5: I/O ports at <unassigned>
	Expansion ROM at <unassigned> [disabled] [size=64K]

cat /proc/devices

Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  6 lp
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
116 alsa
128 ptm
136 pts
171 ieee1394
180 usb

Block devices:
  2 fd
  3 ide0
  8 sd
  9 md
 22 ide1
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
253 device-mapper
254 mdp

anyway, if anyone needs anything i havnt included, let me know...

Jamie

:
: --- Linux Rocks! <linux at rocksolidnetworks.com> wrote:
: > On Tuesday 04 January 2005 05:23 pm, larry price wrote:
: > : On Tue, 4 Jan 2005 14:42:23 -0500, Linux Rocks!
: > :
: > : <linux at rocksolidnetworks.com> wrote:
: > : > This is my hardware:
: > : >
: > : > ASUS P4R800-V Deluxe motherboard.
: > : > onboard SATA/IDE Raid controller (SIS 180)
: > : >
: > : >
: > : > I have slack installed on a 160 GB disk, on the other IDE
: >
: > controller, and
: >
: > : > have built many kernels, and tried many stock kernels
: >
: > (including
: >
: > : > ataraid.i). Ive compiled sata_sis (the driver for sis 180)
: >
: > modules, and
: >
: > : > in the kernel. Ive compiled libata into the kernel, and
: >
: > modules.
: >
: > : > Ive tried dmraid (and device mapper). I get "No Sofware
: >
: > RAID disks"
: >
: > : > message. I dont even know how these drives will appear
: >
: > exactly, but none
: >
: > : > of the kernels Ive used, or modules Ive loaded have shown
: >
: > the 2 raid
: >
: > : > disks in dmesg (but it does show the controller loading,
: >
: > and 2 controller
: >
: > : > channels.)
: > : >
: > : > So, Im also confused about what is software raid,
: >
: > soft-hardware raid...
: >
: > : > It sholdnt be that hard to setup!! but yet it is.
: > :
: > : usually to setup a hardware raid you'll need to run the
: >
: > manufacturers
: >
: > : provided tool to register the disks and format the RAID
: >
: > partitions,
: >
: > : once you've done that the disks should show up if you have
: >
: > working
: >
: > : drivers.
: >
: > yeah, I did that in xp, and it was working.
: >
: > Part of the issue is that its not a true hardware controller.
: > Nearest I can
: > tell, its what they call fakeraid. from what Ive read, it
: > should be able to
: > be used as a hardware raid with the sata_sis driver, but I
: > havnt seen that
: > yet. Another part of the problem is that the controller runs
: > SATA, and IDE,
: > and most ifnot all the docs ive read dont talk about setting
: > up ide drives.
: >
: >
: > I can also set it up as just software raid (bypassing the raid
: > bios i guess).
: > but i havnt see that working under linux yet either.
: >
: > also, I should mention, Ive tried removing the raid (in the
: > raid bios), to use
: > them as regular disks (which btw is mentioned in that sis SATA
: > RAID manual),
: > and I still cant see the disks...
: >
: > Im not sure where they will appear, some docs I read mention
: > /dev/ataraid,
: > some /dev/md, or even /dev/hde, /dev/hdg. but ive seen none of
: > that(although
: > I have seen md, and ataraid in my dev dir...)
: >
: > : Software RAID uses the host computer to manage all the
: >
: > parity checking etc.
: >
: > : But since you have the hardware ...
: >
: > yeah, from what Ive read, the linux software raid works better
: > than these
: > types of raid controllers... Right now, id settle for working!
: > but i would
: > like to compare and see for myself.
: >
: > If I can figure out how to access the disks at all, it will be
: > easier!
:
: __________________________________
: Do you Yahoo!?
: Yahoo! Mail - Helps protect you from nasty viruses.
: http://promotions.yahoo.com/new_mail
: _______________________________________________
: EUGLUG mailing list
: euglug at euglug.org
: http://www.euglug.org/mailman/listinfo/euglug

-- 
Let's call it an accidental feature.
	-- Larry Wall



More information about the EUGLUG mailing list