Re: [SLUG] IDE vs USB

From: Eben King (eben1@tampabay.rr.com)
Date: Sun Jan 29 2006 - 20:23:36 EST


On Fri, 27 Jan 2006, Eben King wrote:

> For some reason, it's not letting me access it now. It's denying the
> existence of any SCSI drive. There's no /dev/sd? and even mknoding ones
> elsewhere doesn't work. /etc/init.d/udev complains about being launched
> from a terminal.

OK, fixed that. Apparently "rtc.ko" conflicts with "genrtc.ko".
Reasonable, they're both drivers for the same hardware. ("make menuconfig"
should have said something...). I don't know why it decided to stop working
now. The only thing I did differently was tell lilo to boot my kernel by
default.

Anyhow, genrtc is 12k, rtc is 18k, so I'm _assuming_ that rtc is bigger
because it has more specific code. So I moved genrtc elsewhere, ran depmod
and rebooted.

> When I boot, the module for eth0 (8139too) is unloaded; when I modprobe
> it, stuff works (except for udev).

Fixed that too. There's a file /etc/network/interfaces, change the line
"auto lo" to "auto lo eth0".

> For reference,
>
> root@pc:~# hdparm -tT /dev/hda /dev/hdb
>
> /dev/hda:
> Timing cached reads: 1164 MB in 2.00 seconds = 581.96 MB/sec
> Timing buffered disk reads: 156 MB in 3.01 seconds = 51.79 MB/sec
>
> /dev/hdb:
> Timing cached reads: 1144 MB in 2.00 seconds = 571.96 MB/sec
> Timing buffered disk reads: 162 MB in 3.01 seconds = 53.85 MB/sec
>
> Didn't think it was that fast. I recall numbers in the 30s before.

And for completeness:

root@pc:~# hdparm -tT /dev/sda

/dev/sda:
  Timing cached reads: 1128 MB in 2.00 seconds = 562.84 MB/sec
  Timing buffered disk reads: 62 MB in 3.05 seconds = 20.34 MB/sec

Maybe it's not completely fixed. I had to modprobe a bunch of stuff
manually before /dev/sda worked. Maybe hotplug isn't working?

Anyhow, the relative speed ratios explains the "pulsing" of /dev/hdb. My
laptop has a faster USB implementation I guess; AIR it was in the high 20
MB/s there.

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar

Q: What kind of modem did Jimi Hendrix use? A: A purple Hayes. ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 17:17:57 EDT