Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2006.0 ppc minimal live cd usb hd problem <REVISED>
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Fri Jul 21, 2006 3:45 pm    Post subject: 2006.0 ppc minimal live cd usb hd problem <REVISED> Reply with quote

hi,

i have just booted up my g4 power book with an external drive that i would like to install gentoo linux on. i have just partitioned the disk with a working gentoo system (so i know the disk has a partition table that should be readable by gentoo). when i boot the laptop there is some output that looks promising, however ultimately the kernel complains about /dev/sda not having a valid partition map. here is some output from dmesg (the output is long, but ive truncated some of it for the post):

EDIT: I cleaned this up, only showing the important parts :wink:
important output is highlighted in red; my comments are highlighted in orange
truncated for post
...
IN from bad port 338 at c0258950
IN from bad port 338 at c0258950
IN from bad port 338 at c0258950
IN from bad port 338 at c0258950
mesh: configured for synchronous 5 MB/s
usbmon: debugfs is not available this makes it difficult to debug :x
PCI: Enabling device 0001:10:1b.2 (0004 -> 0006)
ehci_hcd 0001:10:1b.2: EHCI Host Controller
ehci_hcd 0001:10:1b.2: new USB bus registered, assigned bus number 1
ehci_hcd 0001:10:1b.2: irq 63, io mem 0x80080000
ehci_hcd 0001:10:1b.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 5 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware
PCI: Enabling device 0001:10:1a.0 (0000 -> 0002)
ohci_hcd 0001:10:1a.0: OHCI Host Controller
ohci_hcd 0001:10:1a.0: new USB bus registered, assigned bus number 2
ohci_hcd 0001:10:1a.0: irq 29, io mem 0x80083000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PCI: Enabling device 0001:10:1b.0 (0000 -> 0002)
ohci_hcd 0001:10:1b.0: OHCI Host Controller
ohci_hcd 0001:10:1b.0: new USB bus registered, assigned bus number 3
ohci_hcd 0001:10:1b.0: irq 63, io mem 0x80082000
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
usb 1-1: new high speed USB device using ehci_hcd and address 2
PCI: Enabling device 0001:10:1b.1 (0000 -> 0002)
ohci_hcd 0001:10:1b.1: OHCI Host Controller
ohci_hcd 0001:10:1b.1: new USB bus registered, assigned bus number 4
ohci_hcd 0001:10:1b.1: irq 63, io mem 0x80081000
this is good
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected

USB Universal Host Controller Interface driver v2.3
usbcore: registered new driver hiddev
usb 2-1: new full speed USB device using ohci_hcd and address 2
this is bad
usb 2-1: device descriptor read/64, error -71
usb 2-1: device descriptor read/64, error -71

usb 2-1: new full speed USB device using ohci_hcd and address 3
usb 2-1: device descriptor read/64, error -71
usb 2-1: device descriptor read/64, error -71
usb 2-1: new full speed USB device using ohci_hcd and address 4
usb 2-1: device descriptor read/8, error -71
usb 2-1: device descriptor read/8, error -71
usb 2-1: new full speed USB device using ohci_hcd and address 5
usb 2-2: new full speed USB device using ohci_hcd and address 6
input: HID 05ac:1000 as /class/input/input4
input: USB HID v1.11 Keyboard [HID 05ac:1000] on usb-0001:10:1a.0-1
input: HID 05ac:1000 as /class/input/input5
input: USB HID v1.11 Mouse [HID 05ac:1000] on usb-0001:10:1a.0-1
HID device not claimed by input or hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
input: appletouch as /class/input/input6
usbcore: registered new driver appletouch
i2c /dev entries driver
this is good

Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: ST910021 Model: A Rev: 3.04
Type: Direct-Access ANSI SCSI revision: 00
usb-storage: device scan complete
SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB)
sda: assuming drive cache: write through
SCSI device sda: 195371568 512-byte hdwr sectors (100030 MB)
sda: assuming drive cache: write through

is this because of above read error?
sda:<3>Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 1
Buffer I/O error on device sda, logical block 2
Buffer I/O error on device sda, logical block 3
Buffer I/O error on device sda, logical block 4
Buffer I/O error on device sda, logical block 5
Buffer I/O error on device sda, logical block 6
Buffer I/O error on device sda, logical block 7
Buffer I/O error on device sda, logical block 0
Buffer I/O error on device sda, logical block 1
unable to read partition table
sd 0:0:0:0: Attached scsi disk sda
printk: 6 messages suppressed.
Buffer I/O error on device sda, logical block 0
...
truncated for post
...


i think its clear there is a hardware compatability issue; however the device was easily recognized by the kernel on my x86 gentoo machine. i have tried enabling the doscsi option at boot time, but this does not alter the situation.
can someone suggest a way to have my ppc laptop work with this device for installation purposes?
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Fri Jul 21, 2006 10:18 pm    Post subject: this is not a new problem Reply with quote

here a report of the same issue from earlier this year
Mac Mini & 2006.0 boot: no FW or APM/ACPI, kernel Oops etc.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jul 22, 2006 11:56 am    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on PPC.

Are you sure your kernel includes support for MS-DOS partitions? Or did you actually partition that drive with mac-fdisk (or another partitioner that creates an apple partition map)?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
quickshiftin
Guru
Guru


Joined: 27 Jul 2004
Posts: 345
Location: Denver, CO

PostPosted: Sat Jul 22, 2006 2:47 pm    Post subject: Reply with quote

i partitioned the drive using mac-fdisk, which i installed on my working gentoo desktop.
when typing
$fdisk /dev/sda
-or-
$mac-fdisk /dev/sda


error messages are output on the console and neither program can bring up an interface to partion the disk (this from the 2006.0 live cd with the external drive)

also, in reading the other thread i referred to in my last post, i decided to try an old 2005.0 live cd i had laying around (with plans to use an ubuntu disk if that didnt work). good news is the 2005.0 cd works, so i am moving forward with it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum