USB problems on Lombard Powerbook ... and more
From: Daniel Gonzalez <hidden>
Date: 2000-04-20 06:00:41
Dear noctambules (and others too ...)
I am struggling with my USB port (I have a 1999 Lombard PowerBook G3
(PPC 750)).
What I want to have is a connection to my cool 250 Zip USB.
I have the following problems:
1.
(kernel 2.2.15pre17 compiles fine, with usb modules. I think the kernel
I am using
has a USB backport coming from 2.3. Actually I got these sources from
linuxcare - see point 2)
When I try to mount the Zip drive, it fails:
[root]# cat /etc/fstab
/dev/hda8 / ext2 defaults
1 1
/dev/hda12 swap swap defaults
0 0
/dev/fd0 /mnt/floppy ext2 noauto
0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,ro
0 0
none /proc proc defaults
0 0
none /dev/pts devpts mode=0622
0 0
/dev/hda10 /mnt/shared hfs defaults 0 0
/dev/sda4 /mnt/usbzip hfs noauto,user 0 0
[root]# mount /mnt/usbzip/
mount: the kernel does not recognize /dev/sda4 as a block device
(maybe `insmod driver'?)
The drive is powered up, connected to the USB port, with a Zip
drive in it (I am not sure if the password protection is active or
not ... If this is an issue for my current problem, I will verify it)
BTW, I use hfs as filesystem because I am in a mac environment.
Here you have some command outputs:
[root]ls -l /proc/bus/usb
dr-xr-xr-x 2 root root 0 Apr 20 01:06 001
dr-xr-xr-x 2 root root 0 Apr 20 01:06 002
-r--r--r-- 1 root root 0 Apr 20 01:06 devices
-r--r--r-- 1 root root 0 Apr 20 01:06 drivers
[root@dhcp-213-224-41-154]# ls 001
(empty)
[root]# ls 002
001
[root]# cat 002/001
(empty)
[root@dhcp-213-224-41-154]# cat devices
T: Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
T: Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 0 Spd=12 MxCh= 2
D: Ver= 0.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 0 #Cfgs= 0
P: Vendor=0000 ProdID=0000 Rev= 0.00
T: Lev=01 Prnt=00 Port=00 Cnt=01 Dev#= -1 Spd=12 MxCh= 0
D: Ver=10.01 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 0
P: Vendor=0000 ProdID=0000 Rev= 0.00
[root]# cat drivers
usb_scsi
hub
I check the scsi tree:
[root]# cat /proc/scsi/scsi
Attached devices: none
Since nothing is there, I issue the command mentioned in
"The Linux USB sub-system" document:
[root]# echo "scsi add-single-device 1 0 0 0" > /proc/scsi/scsi
[root]# cat /proc/scsi/scsi
Attached devices: none
... So the command had no effect (sb knows why???)
More output in case it is useful:
[root]# cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
29 fb
56 adb
108 ppp
128 ptm
136 pts
180 usb
Block devices:
1 ramdisk
3 ide0
7 loop
22 ide1
[root]# cat /proc/filesystems
ext2
nodev proc
nodev nfs
hfs
nodev autofs
nodev devpts
[root]# lsmod
Module Size Used by
usb-scsi 16068 1
usb-ohci-hcd 21916 0 (unused)
usb-ohci 27236 1
hub 5100 0 (unused)
usbcore 31456 0 [usb-scsi usb-ohci-hcd usb-ohci hub]
I also attach the /var/log/messages output.
BTW, I see a message in that log which says:
'Check your kern.debug logs for the bulk of it.'
Where is this kern.debug file ?
2. (For the PPC people) I have rsynced with linuxcare:
rsync -avz --delete linuxcare.com.au::linux-pmac-devel .
When I try to compile I get the attached log (compile.log)
Why is this ?
3. The so often-mentioned usbdevfs is not available in my system.
In the The Linux USB sub-system" document they mention that
I should issue the command:
mount -t usbdevfs none /proc/bus/usb
I can not because I don't have usbdevfs (you can see that in a previous
output).
But this seems not to be an issue since my /proc/bus/usb directory looks
fine.
Here you have a list of my mounted volumes. Why is/proc/bus/usb not
mentioned?
[root]# mount
/dev/hda8 on / type ext2 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,mode=0622)
/dev/hda10 on /mnt/shared type hfs (rw)
4. Info:
I am not very happy with my decission of installing LinuxPPC in my
machine.
The installation is a nightmare (the X installer does not work, the
wrong X server
gets installed ...) Besides, I got two CDs, one with the installation
bulk and another
with the sources. Five days ago I tried to read the sources ... The
CD is completely
empty !!! So I have more or less wasted my money ... thanks to my cable
connection
I am able to easily download source code.
5. Curiosity:
Is the linux tree completely centralized? I mean, the intel, Alpha, PPC
... sources
are all kept, mantained and developed in a centralized way, or do we
have several
linuxes wandering around ?
Regards and have a nice night ...
Daniel
Attachments
- var_log_messages [text/plain] 16933 bytes · preview
- compile.log [text/plain] 2002 bytes · preview