RE: [gentoo-user] Hotpluggable SATA question...

2006-04-24 Thread Sieb, Glenn E (Glenn)
 Wouldn't it have been easier to just google for linux SATA hotplug? 
 The first link takes you to this page:
 
 http://linux-ata.org/sata-status.html
 
 Which explains that the AHCI hardware supports hotplug, but 
 not the libata core on which the driver is based.  So for 
 now, it seems that SATA hotplug is not possible on your system.
 

Thank you, Richard.

Actually I had been googling Gentoo SATA hotplug. 

Best,
--Glenn

--
Glenn E. Sieb, MTS
Bell Laboratories
[EMAIL PROTECTED]
+1 732 949 5453 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hotpluggable SATA question...

2006-04-22 Thread Richard Fish
On 4/21/06, Sieb, Glenn E (Glenn) [EMAIL PROTECTED] wrote:
 Hmm.

 I have servers using the SuperMicro P8SCT motherboard, which supports 
 hot-pluggable SATA drives.

 In Gentoo they show as being SCSI, fine, no problem with that.

 If I hotplug a drive into the chassis--it powers up, but Gentoo doesn't see 
 it until reboot.

 Has anyone else used hotpluggable SATA drives in Gentoo 2006.0? Is there some 
 mysterious package I need to emerge for this to work right?

Wouldn't it have been easier to just google for linux SATA hotplug? 
The first link takes you to this page:

http://linux-ata.org/sata-status.html

Which explains that the AHCI hardware supports hotplug, but not the
libata core on which the driver is based.  So for now, it seems that
SATA hotplug is not possible on your system.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hotpluggable SATA question...

2006-04-21 Thread brettholcomb
Will the hotplug package work on these drives?
 
 From: Sieb, Glenn E (Glenn) [EMAIL PROTECTED]
 Date: 2006/04/21 Fri PM 04:46:38 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Hotpluggable SATA question...
 
 Hmm. 
 
 I have servers using the SuperMicro P8SCT motherboard, which supports 
 hot-pluggable SATA drives.
 
 In Gentoo they show as being SCSI, fine, no problem with that. 
 
 If I hotplug a drive into the chassis--it powers up, but Gentoo doesn't see 
 it until reboot. 
 
 Has anyone else used hotpluggable SATA drives in Gentoo 2006.0? Is there some 
 mysterious package I need to emerge for this to work right?
 
 Output of dmesg follows.
 
 Thanks in advance,
 Best,
 --Glenn
 
 Linux version 2.6.15-gentoo-r5 ([EMAIL PROTECTED]) (gcc version 3.4.4 (Gentoo 
 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)) #1 SMP Mon Feb 13 20:23:47 UTC 2006
 BIOS-provided physical RAM map:
  BIOS-e820:  - 0009f400 (usable)
  BIOS-e820: 0009f400 - 000a (reserved)
  BIOS-e820: 000f - 0010 (reserved)
  BIOS-e820: 0010 - 7f6e (usable)
  BIOS-e820: 7f6e - 7f6e3000 (ACPI NVS)
  BIOS-e820: 7f6e3000 - 7f6f (ACPI data)
  BIOS-e820: 7f6f - 7f70 (reserved)
  BIOS-e820: e000 - f000 (reserved)
  BIOS-e820: fec0 - 0001 (reserved)
 1142MB HIGHMEM available.
 896MB LOWMEM available.
 found SMP MP-table at 000f3a60
 On node 0 totalpages: 521952
   DMA zone: 4096 pages, LIFO batch:0
   DMA32 zone: 0 pages, LIFO batch:0
   Normal zone: 225280 pages, LIFO batch:31
   HighMem zone: 292576 pages, LIFO batch:31
 DMI 2.3 present.
 ACPI: RSDP (v000 IntelR) @ 0x000f7bc0
 ACPI: RSDT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x) @ 0x7f6e3040
 ACPI: FADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x) @ 0x7f6e30c0
 ACPI: MCFG (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x) @ 0x7f6e7540
 ACPI: MADT (v001 IntelR AWRDACPI 0x42302e31 AWRD 0x) @ 0x7f6e7440
 ACPI: SSDT (v001  PmRef  Cpu0Ist 0x3000 INTL 0x20041203) @ 0x7f6e75c0
 ACPI: SSDT (v001  PmRefCpuPm 0x3000 INTL 0x20041203) @ 0x7f6e7a50
 ACPI: DSDT (v001 INTELR AWRDACPI 0x1000 MSFT 0x010e) @ 0x
 ACPI: Local APIC address 0xfee0
 ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
 Processor #0 15:4 APIC version 20
 ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
 Processor #1 15:4 APIC version 20
 ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
 ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
 ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
 ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
 ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
 ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
 ACPI: IOAPIC (id[0x04] address[0xfec0] gsi_base[0])
 IOAPIC[0]: apic_id 4, version 32, address 0xfec0, GSI 0-23
 ACPI: IOAPIC (id[0x05] address[0xfec84400] gsi_base[24])
 IOAPIC[1]: apic_id 5, version 32, address 0xfec84400, GSI 24-47
 ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
 ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
 ACPI: IRQ0 used by override.
 ACPI: IRQ2 used by override.
 ACPI: IRQ9 used by override.
 Enabling APIC mode:  Flat.  Using 2 I/O APICs
 Using ACPI (MADT) for SMP configuration information
 Allocating PCI resources starting at 8000 (gap: 7f70:6090)
 Built 1 zonelists
 Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 
 real_root=/dev/sda3 
 mapped APIC to d000 (fee0)
 mapped IOAPIC to c000 (fec0)
 mapped IOAPIC to b000 (fec84400)
 Initializing CPU#0
 CPU 0 irqstacks, hard=c0427000 soft=c041f000
 PID hash table entries: 4096 (order: 12, 65536 bytes)
 Detected 3400.303 MHz processor.
 Using tsc for high-res timesource
 Speakup v-2.00 CVS: Wed Dec 21 14:36:03 EST 2005 : initialized
 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: 2061544k/2087808k available (2388k kernel code, 24896k reserved, 561k 
 data, 220k init, 1170304k highmem)
 Checking if this processor honours the WP bit even in supervisor mode... Ok.
 Calibrating delay using timer specific routine.. 6808.63 BogoMIPS 
 (lpj=34043180)
 Mount-cache hash table entries: 512
 CPU: After generic identify, caps: bfebfbff 2010   
 649d  
 CPU: After vendor identify, caps: bfebfbff 2010   
 649d  
 monitor/mwait feature present.
 using mwait in idle threads.
 CPU: Trace cache: 12K uops, L1 D cache: 16K
 CPU: L2 cache: 2048K
 CPU: Physical Processor ID: 0
 CPU: After all inits, caps: bfebfbff 2010  0080 649d 
  
 mtrr: v2.0 (20020519)
 Enabling fast FPU save and restore... done.
 Enabling unmasked SIMD FPU exception support... 

RE: [gentoo-user] Hotpluggable SATA question...

2006-04-21 Thread Sieb, Glenn E (Glenn)
Brett,

 Will the hotplug package work on these drives?

Hmm. (checks) Well, it appears to be installed.

# equery list hotplug
[ Searching for package 'hotplug' in all categories among: ]
 * installed packages
[I--] [  ] sys-apps/hotplug-20040923-r1 (0)
[I--] [  ] sys-apps/hotplug-base-20040401 (0)

Further checking:

There's a scsi.agent in /etc/hotplug/ 

So now I've tried:

hotplug scsi add sdb
(which sounded like the right thing to do after looking at 
/etc/hotplug/scsi.agent)

Doing that command didn't give any feedback. dmesg hasn't changed... heck doing 
hotplug scsi blah didn't give any feedback either. 

Thanks for the reply :) I'm hoping I can do this. 

Best,
--Glenn

--
Glenn E. Sieb, MTS
Bell Laboratories
[EMAIL PROTECTED]
+1 732 949 5453 
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Hotpluggable SATA question...

2006-04-21 Thread A. Khattri
On Fri, 21 Apr 2006, Sieb, Glenn E (Glenn) wrote:

 Brett,

  Will the hotplug package work on these drives?

 Hmm. (checks) Well, it appears to be installed.

 # equery list hotplug
 [ Searching for package 'hotplug' in all categories among: ]
  * installed packages
 [I--] [  ] sys-apps/hotplug-20040923-r1 (0)
 [I--] [  ] sys-apps/hotplug-base-20040401 (0)

 Further checking:

 There's a scsi.agent in /etc/hotplug/

 So now I've tried:

 hotplug scsi add sdb
 (which sounded like the right thing to do after looking at 
 /etc/hotplug/scsi.agent)

 Doing that command didn't give any feedback. dmesg hasn't changed... heck 
 doing hotplug scsi blah didn't give any feedback either.

 Thanks for the reply :) I'm hoping I can do this.

Please post back here if you get anywhere - I have the same hotswap
chassis (Im using software RAID 1 though).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Hotpluggable SATA question...

2006-04-21 Thread Boyd Stephen Smith Jr.
On Friday 21 April 2006 15:46, Sieb, Glenn E (Glenn) [EMAIL PROTECTED] 
wrote about '[gentoo-user] Hotpluggable SATA question...':
 In Gentoo they show as being SCSI, fine, no problem with that.

That's the same across all linuxes.

 If I hotplug a drive into the chassis--it powers up, but Gentoo doesn't
 see it until reboot.

That because it's using the SCSI subsystem in linux.  That subsystem was 
never designed to handle hotpluging.  After you add a device to the 
system, you have to 'echo scsi add-single-device controller bus/chain 
target/id lun  /proc/scsi/scsi'.  It is left as an exercise for the 
reader to detemine the correct values for the 4 variables.

 Has anyone else used hotpluggable SATA drives in Gentoo 2006.0? Is there
 some mysterious package I need to emerge for this to work right?

From what I understand:
There are kernel changes required to get SCSI hotplug (and SATA hotplug) to 
work hands free.  They are in development, but there's no ETA for when 
they will be supported.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgp67wzyRHdV9.pgp
Description: PGP signature


Re: [gentoo-user] Hotpluggable SATA question...

2006-04-21 Thread Brett I. Holcomb
I don't know - I figured hotplug would be logical.  I'm in the process of 
replacing a SCSI system with SATA and haven't got there yet.

On Friday April 21 2006 17:14, Sieb, Glenn E (Glenn) wrote:
 Brett,

  Will the hotplug package work on these drives?

 Hmm. (checks) Well, it appears to be installed.

 # equery list hotplug
 [ Searching for package 'hotplug' in all categories among: ]
  * installed packages
 [I--] [  ] sys-apps/hotplug-20040923-r1 (0)
 [I--] [  ] sys-apps/hotplug-base-20040401 (0)

 Further checking:

 There's a scsi.agent in /etc/hotplug/

 So now I've tried:

 hotplug scsi add sdb
 (which sounded like the right thing to do after looking at
 /etc/hotplug/scsi.agent)

 Doing that command didn't give any feedback. dmesg hasn't changed... heck
 doing hotplug scsi blah didn't give any feedback either.

 Thanks for the reply :) I'm hoping I can do this.

 Best,
 --Glenn

 --
 Glenn E. Sieb, MTS
 Bell Laboratories
 [EMAIL PROTECTED]
 +1 732 949 5453

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list