Re: [gentoo-user] trouble with usb storage and fetchmail

2003-12-04 Thread [EMAIL PROTECTED]
anh le wrote:
-- Martin wrote:

You need to rescan your SCSI-Bus for new devices (USB-Devies use the 
SCSI structur of th kernel ...

I do that job with a script from SuSE ... it is called rescan-scsi-bus.sh

here is it :
   http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
or have a look at google to find it


I have downloaded the script and rescan scsi bus with it
but it get my system hang each time I run it,
I tried to run it several times
it works fine on my system ... but I use SCSI not for my primary 
harddisk (/ is mounted form IDE)
but I was wrong to tell you about it - I need it to get the 
firewire-devices ...

/dev/sda1 still not a valid block device
It is in Redhat /dev/sda1?
if you have other scsi-disks it might be somewhere else ... (OK, this 
might be a little stupid note ...)

I use 32MB Microlab memory stick, it work well with Redhat 8.0 
I recompile the kernel with scsi support, usb support but it does'nt help
too
Any other idea?

- use the redhat kernel for gentoo
- check for differences in USB-section between your Kernel in Gentoo and 
the Redhat-Kernel
- use usbview or /proc/bus/usb/devices to gain more information about 
your usb-stick (expecially vendor and device id) to check internet or 
against kernel ...



it creates for you the nodes and makes them usable ... (or update to 
Kernel 2.6 there is a new system which is working well ...)

Kernel 2.6 is also a tip for firewire :-(  I messed it up ...



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] trouble with usb storage and fetchmail

2003-12-02 Thread anh le

-- Martin wrote:
> You need to rescan your SCSI-Bus for new devices (USB-Devies use the 
> SCSI structur of th kernel ...
> 
> I do that job with a script from SuSE ... it is called rescan-scsi-bus.sh
> 
> here is it :
> http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
> or have a look at google to find it

I have downloaded the script and rescan scsi bus with it
but it get my system hang each time I run it,
I tried to run it several times

/dev/sda1 still not a valid block device

I use 32MB Microlab memory stick, it work well with Redhat 8.0 
I recompile the kernel with scsi support, usb support but it does'nt help
too
Any other idea?

> 
> it creates for you the nodes and makes them usable ... (or update to 
> Kernel 2.6 there is a new system which is working well ...)

-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] trouble with usb storage and fetchmail

2003-12-01 Thread [EMAIL PROTECTED]
rd wrote:
Regarding USB...  I hope that the suggestion works.  Please let us
know.  From my experience, not all USB memory sticks are supported by
linux, not even the 2.6 kernel.  There are many different chip sets in
use.  Good luck
I mixed USB and Firewire up ...  with Firewire I don't get devices when 
plugging in the disk. so have to rescan the bus to get it working ...
and the update to 2.6 helps for that (firewire-)problem ...

with USB my problems are that the device remain in the devfs after 
unplugging the storage-device ...
so the same device get for each "plugging" a new device-node (so when 
plugged the third time the stick is accessible as /dev/sdc1 :-(

my workaround to get it back to /dev/sda1 is:
  rmmod sd_mod
  rmmod usb-storage
  /etc/init.d/hotplug restart
Martin
-rdg

On Mon, 2003-12-01 at 15:57, [EMAIL PROTECTED] wrote:

anh le wrote:

Hello gentoo user n helper :)

I installed gentoo linux 1.4 on an i686 but have 2 troubles

1- USB storage (I have a 32 MB memory stick)
I have install scsi mod, sd_mod, usbcore, usb-storage
(everything needed that I once read from forum)
I modprobe everything seem to be ok
but when I mount
---
mount /dev/sda1 -t vfat /mnt/flash
---
it fires back:
---
mount: /dev/sda1 is not a valid block device
---
then 
mknod /dev/sda1 b 8 1
also not helps

You need to rescan your SCSI-Bus for new devices (USB-Devies use the 
SCSI structur of th kernel ...

I do that job with a script from SuSE ... it is called rescan-scsi-bus.sh

here is it :
   http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
or have a look at google to find it
it creates for you the nodes and makes them usable ... (or update to 
Kernel 2.6 there is a new system which is working well ...)



Martin

--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] trouble with usb storage and fetchmail

2003-12-01 Thread rd
Regarding USB...  I hope that the suggestion works.  Please let us
know.  From my experience, not all USB memory sticks are supported by
linux, not even the 2.6 kernel.  There are many different chip sets in
use.  Good luck


-rdg

On Mon, 2003-12-01 at 15:57, [EMAIL PROTECTED] wrote:
> anh le wrote:
> > Hello gentoo user n helper :)
> > 
> > I installed gentoo linux 1.4 on an i686 but have 2 troubles
> > 
> > 1- USB storage (I have a 32 MB memory stick)
> > I have install scsi mod, sd_mod, usbcore, usb-storage
> > (everything needed that I once read from forum)
> > I modprobe everything seem to be ok
> > but when I mount
> > 
> > ---
> > mount /dev/sda1 -t vfat /mnt/flash
> > ---
> > it fires back:
> > 
> > ---
> > mount: /dev/sda1 is not a valid block device
> > ---
> > then 
> > mknod /dev/sda1 b 8 1
> > also not helps
> > 
> 
> You need to rescan your SCSI-Bus for new devices (USB-Devies use the 
> SCSI structur of th kernel ...
> 
> I do that job with a script from SuSE ... it is called rescan-scsi-bus.sh
> 
> here is it :
> http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
> or have a look at google to find it
> 
> it creates for you the nodes and makes them usable ... (or update to 
> Kernel 2.6 there is a new system which is working well ...)
> 
> > ##
> > 
> > 2. I installed fetchmail, wrote a fetchmailrc with fetchall option
> > 
> > First I run fetchmail -cv (normal user) to see it work, but all my fetched
> > mail go nowhere, 
> > 
> > I don't know where they've gone! already check /var/spool/mail/anh 
> > 
> > My email on server still all there.
> 
> Perhaps your own (local) mailserver doesn't accept that mails ?
> 
> I don't know. I used fetchmail a long time ago 
> 
> 
> Martin
> 
> 
> --
> [EMAIL PROTECTED] mailing list
-- 
Never underestimate the bandwidth of a station wagon full of tapes!


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] trouble with usb storage and fetchmail

2003-12-01 Thread [EMAIL PROTECTED]
anh le wrote:
Hello gentoo user n helper :)

I installed gentoo linux 1.4 on an i686 but have 2 troubles

1- USB storage (I have a 32 MB memory stick)
I have install scsi mod, sd_mod, usbcore, usb-storage
(everything needed that I once read from forum)
I modprobe everything seem to be ok
but when I mount
---
mount /dev/sda1 -t vfat /mnt/flash
---
it fires back:
---
mount: /dev/sda1 is not a valid block device
---
then 
mknod /dev/sda1 b 8 1
also not helps

You need to rescan your SCSI-Bus for new devices (USB-Devies use the 
SCSI structur of th kernel ...

I do that job with a script from SuSE ... it is called rescan-scsi-bus.sh

here is it :
   http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh
or have a look at google to find it
it creates for you the nodes and makes them usable ... (or update to 
Kernel 2.6 there is a new system which is working well ...)

##

2. I installed fetchmail, wrote a fetchmailrc with fetchall option

First I run fetchmail -cv (normal user) to see it work, but all my fetched
mail go nowhere, 

I don't know where they've gone! already check /var/spool/mail/anh 

My email on server still all there.
Perhaps your own (local) mailserver doesn't accept that mails ?

I don't know. I used fetchmail a long time ago 

Martin

--
[EMAIL PROTECTED] mailing list


[gentoo-user] trouble with usb storage and fetchmail

2003-12-01 Thread anh le
Hello gentoo user n helper :)

I installed gentoo linux 1.4 on an i686 but have 2 troubles

1- USB storage (I have a 32 MB memory stick)
I have install scsi mod, sd_mod, usbcore, usb-storage
(everything needed that I once read from forum)
I modprobe everything seem to be ok
but when I mount

---
mount /dev/sda1 -t vfat /mnt/flash
---
it fires back:

---
mount: /dev/sda1 is not a valid block device
---
then 
mknod /dev/sda1 b 8 1
also not helps

here is excerpt of my dmesg:

###
...
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1410k freed
VFS: Mounted root (ext2 filesystem).
NCR53c406a: no available ports found
aec671x_detect: 
scsi:  Detection failed (no card)
megaraid: v1.18 (Release Date: Thu Oct 11 15:02:53 EDT 2001)
megaraid: no BIOS enabled.
DC390: 0 adapters found
Failed initialization of WD-7000 SCSI card!
3ware Storage Controller device driver for Linux v1.02.00.031.
3w-: No cards with valid units found.
NCR53c406a: no available ports found
Red Hat/Adaptec aacraid driver, Nov 29 2003
Loading Adaptec I2O RAID: Version 2.4 Build 5
Detecting Adaptec I2O RAID controllers...
sim710: No NCR53C710 adapter found.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Setting latency timer of device 00:1f.2 to 64
uhci.c: USB UHCI at I/O 0xd000, IRQ 10
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Setting latency timer of device 00:1f.4 to 64
uhci.c: USB UHCI at I/O 0xd400, IRQ 11
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]>
hid-core.c: USB HID support drivers
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.

##

2. I installed fetchmail, wrote a fetchmailrc with fetchall option

First I run fetchmail -cv (normal user) to see it work, but all my fetched
mail go nowhere, 

I don't know where they've gone! already check /var/spool/mail/anh 

My email on server still all there.


thanks 
--
anh
a gentoo fan from vietnam

-- 
HoHoHo! Seid Ihr auch alle schön brav gewesen?

GMX Weihnachts-Special: Die 1. Adresse für Weihnachts-
männer und -frauen! http://www.gmx.net/de/cgi/specialmail

+++ GMX - die erste Adresse für Mail, Message, More! +++


--
[EMAIL PROTECTED] mailing list