Andrey Andreev | 1 Mar 01:09 2005
Picon
Picon

Re: [OT] How do I look inside a .deb [WAS]: Re: Kernel panic on boot with kernel 2.6.10 (SATA SiL 3112A issue maybe)

Jan C. Nordholz wrote:
> On Tue, Mar 01, 2005 at 01:51:10AM +0200, Andrey Andreev wrote:
> 
>>Hey, here is what is really interesting to me as someone new to Debian - 
>>you seem to say that installing the kernel might run mkinitrd to create 
>>the initrd for that kernel (which would be neat, and require me to tidy 
>>up my /etc/mkinitrd). Now, I don't know if it does, but I'd like to take 
>>a look into the postinstall scripts in the kernel-image deb and see for 
>>myself. How would I look into a package? (checking preinstall and 
>>postinstall scripts in this particular page, but generally I tend to 
>>like to look into everything after a while)
> 
> 
> Hi,
> 
> a .deb archive is really only a "ar" archive, which, once unpacked, yields
> the files "control.tar.gz" (containing the install/remove scripts and
> similar stuff), "data.tar.gz" (containing the files that are to be installed)
> and a version file, "debian-binary", IIRC.
> 
> If you've already installed the package, however, the scripts reside
> in /var/lib/dpkg/info.
> 
> Regards,
> 
> Jan

Thanks, Jan!
So, now that I can see what is going on, I can confirm that installing 
the kernel-image deb builds a new initrd from what's configured in 
(Continue reading)

Adam Porter | 1 Mar 01:00 2005
Picon

Re: Creating a copy of debian set-up

jb701 <at> uku.co.uk wrote:
> I have Debian sarge loaded and running fine on a Thinkpad (laptop).  I 
> now want to copy my setup onto another hard drive, so I can try some 
> things out without ruining this setup (which took a lot of effort to get 
> running).  How do I go about doing that?  The laptop can only run one 
> hard drive at a time. I can connect to another Debian machine (running 
> woody).  The laptop started with woody (same CDs used as the other 
> machine) and I think I kept all the downloaded deb files used to 
> upgrade.  Is there any way to copy the setup rather than setting up a 
> new hard drive from scratch?

Do you have room on the other machine to create an image of the laptop's 
hard drive?  If so, use Partimage to image the drive over the network, 
and then you can restore it later.

If not, then I'm thinking, a copy of /etc and maybe /var and then a list 
of installed packages?  But I'm far from an expert here, so research 
this yourself before doing it.

Adam Porter | 1 Mar 01:02 2005
Picon

Re: Sarge installation problem

Jacques d'Aragon wrote:
> The last installation I did of Debian, using a "Sarge" cd and 
> downloading the necessary stuff from the Internet as it was required 
> went amazingly well (I am _very_ impressed by Debian). Now if I could 
> only get past the following hurdle: when re-starting, Grub comes up, 
> allows booting Windows (XP) but if I choose Linux I get this:
> - Booting `Debian Gnu/Linux, kernel 2.4.18-386`
> - root (hd0,0)
> - Filesystem type is fat, partition type 0xb
> - kernel /boot/vmlinuz-2.4.18-386 root=/dev/hda1 ro
> - Error 15: File not found
> - Press any key...
> 
> Next, since Grub allows editing the commands it is about to execute, I 
> looked and saw:
> - root (hd0,0)
> - kernel /boot/vmlinuz-2.4.18-386 root=/dev/hda1 ro
> - initrd /boot/initrd.img-2.4.18-386
> - savedefault
> 
> Using SimpleMepis (also Debian based), I see that the files vmlinuz- and 
> initrd.img do exist.
> So why the error 15?

I don't know why you're getting that error, but have you tried 
installing the 2.6 kernel?  When I used the RC2 installer, I ran 
"linux26" at the CD's boot prompt, that way it used 2.6 all the way and 
installed it to the hard disk too.  I didn't have any problems.

(Continue reading)

Chris Metzler | 1 Mar 01:21 2005
X-Face
Picon

Re: What's wrong with debian?

On Mon, 28 Feb 2005 17:36:58 -0500
Michael Marsh wrote:
>
> Debian could, in principle, create
> another release alias "desktop" that points to testing, and it would
> probably suit most desktop users.

They could; but it'd be a bad thing to do, because you don't want
"desktop users" installing a distribution that's badly broken; and
when testing is far from release, that happens with testing.  It's
the nature of what testing is.

-c

P.S.  FYI -- you're setting "Reply-To:" with your home address; so
people who reply to you won't reply to the list unless they're
very attentive and can catch the problem beforehand.  Just to let
you know.

--

-- 
Chris Metzler			cmetzler <at> speakeasy.snip-me.net
		(remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear
Anthony Tippett | 1 Mar 01:27 2005
Picon

Re: [OT] How do I look inside a .deb [WAS]: Re: Kernel panic on boot with kernel 2.6.10 (SATA SiL 3112A issue maybe)

Andrey Andreev wrote:
> Jan C. Nordholz wrote:
> 
>> On Tue, Mar 01, 2005 at 01:51:10AM +0200, Andrey Andreev wrote:
>>
>>> Hey, here is what is really interesting to me as someone new to 
>>> Debian - you seem to say that installing the kernel might run 
>>> mkinitrd to create the initrd for that kernel (which would be neat, 
>>> and require me to tidy up my /etc/mkinitrd). Now, I don't know if it 
>>> does, but I'd like to take a look into the postinstall scripts in the 
>>> kernel-image deb and see for myself. How would I look into a package? 
>>> (checking preinstall and postinstall scripts in this particular page, 
>>> but generally I tend to like to look into everything after a while)
>>
>>
>>
>> Hi,
>>
>> a .deb archive is really only a "ar" archive, which, once unpacked, 
>> yields
>> the files "control.tar.gz" (containing the install/remove scripts and
>> similar stuff), "data.tar.gz" (containing the files that are to be 
>> installed)
>> and a version file, "debian-binary", IIRC.
>>
>> If you've already installed the package, however, the scripts reside
>> in /var/lib/dpkg/info.
>>
>> Regards,
>>
(Continue reading)

Andrey Andreev | 1 Mar 01:32 2005
Picon
Picon

DMA problems with TOSHIBA DVD-ROM SD-M1202 (kernel 2.6.10)

Hi,

I have a problem with DMA failing and _automatically_ switching off for 
my old Toshiba DVD-ROM. I was having problems with choppy DVD playback, 
so i tried enabling DMA for the drive, which seemed to succeed, but 
actually it does not work.

So, after a boot:

$ uname -r
2.6.10-1-k7
$ cat /proc/ide/hdd/model
TOSHIBA DVD-ROM SD-M1202
# hdparm /dev/hdd

/dev/hdd:
  IO_support   =  1 (32-bit)
  unmaskirq    =  1 (on)
  using_dma    =  1 (on)
  keepsettings =  0 (off)
  readonly     =  0 (off)
  readahead    = 256 (on)
  HDIO_GETGEO failed: Invalid argument

   Here I run oKle and load the disk, after which
   disk activity LED stays on for a couple of minutes
   during which system sticks three  times for
   a couple of seconds (music, mouse stops) and I get
   the following from dmesg:

(Continue reading)

Jan C. Nordholz | 1 Mar 01:32 2005
Picon
Picon

Re: Creating a copy of debian set-up

On Mon, Feb 28, 2005 at 10:35:13PM +0000, jb701 <at> uku.co.uk wrote:
> I have Debian sarge loaded and running fine on a Thinkpad (laptop).  I now 
> want to copy my setup onto another hard drive, so I can try some things out 
> without ruining this setup (which took a lot of effort to get running).  
> How do I go about doing that?  The laptop can only run one hard drive at a 
> time. I can connect to another Debian machine (running woody).  The laptop 
> started with woody (same CDs used as the other machine) and I think I kept 
> all the downloaded deb files used to upgrade.  Is there any way to copy the 
> setup rather than setting up a new hard drive from scratch? 

I think the most comfortable way would be to create an image of the harddisk,
either using dd or some higher-level software of your choice (if you're
using dd, be careful to get the parameters right - you can shoot yourself
into the foot with it in no time, and there are no "are you sure?"-questions...).
However, this requires that the source and destination partitions are of the
same size.

My second suggestion, if you don't want to create an image, would be to boot
the laptop with a live CD (so your harddisk filesystems are all mounted
readonly) and create a tarball of your entire directory tree... this removes
the partitions-have-equal-size-limitation, but you have to manually create&format
the partition(s) on the new disk, and after unpacking the filesystem's contents,
you'll have to write the boot sector of the new disk by manually invoking
LILO/GRUB to make the disk actually bootable. Besides that, this would also
give you an exact copy of your present installation.

If all this is infeasible, you can only try to copy your /etc tree and the
current status of installed packages, /var/lib/dpkg/status, and reconstruct
your debian system with those files.

(Continue reading)

Michael Marsh | 1 Mar 01:36 2005
Picon

Re: What's wrong with debian?

On Mon, 28 Feb 2005 19:21:10 -0500, Chris Metzler
<cmetzler <at> speakeasy.net> wrote:
> P.S.  FYI -- you're setting "Reply-To:" with your home address; so
> people who reply to you won't reply to the list unless they're
> very attentive and can catch the problem beforehand.  Just to let
> you know.

I don't have much control over that.  Gmail's not really optimal for
mailing lists, but it provides a nice separation between my work mail
(where I want prompt notification of new messages) and lists (where I
don't).

--

-- 
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com

Anthony Tippett | 1 Mar 01:16 2005

Re: [OT] How do I look inside a .deb [WAS]: Re: Kernel panic on boot with kernel 2.6.10 (SATA SiL 3112A issue maybe)

On Tue, Mar 01, 2005 at 01:51:10AM +0200, Andrey Andreev wrote:
> Hi Antony,
> 
> Anthony Tippett wrote:
> >I was actually troubleshooting this same issue and replied because able
> >to figure out that I needed to change my /dev/hdX to /dev/sdX.  I
> >remember trying to do that in the 2.6.9 kernel to no avail, getting the
> >same error as with the sata_sil module not loading.  Perhaps we have
> >different SATA controllers. 
> 
> No, no, you got me wrong. I also had to change the /dev/hdX/to /dev/sdY 
> and so on. It is just that it was not the issue for me, as I was aware 
> that I had to do it, and how to do it from the start.
> 
> And yes, you are right, and we have the same controller for that matter.
> 
> >Also, sometime ago I added sata_sil to /etc/mkinitrd/modules but it
> >never worked for me.  Perhaps when you upgrade a kernel it uses this
> >file to make the initrd.img and thus included that module?  I don't have
> >time right now to take it out and try to break the system but maybe
> >that's why mine is working.
> 
> Hey, here is what is really interesting to me as someone new to Debian - 
> you seem to say that installing the kernel might run mkinitrd to create 
> the initrd for that kernel (which would be neat, and require me to tidy 
> up my /etc/mkinitrd). Now, I don't know if it does, but I'd like to take 
> a look into the postinstall scripts in the kernel-image deb and see for 
> myself. How would I look into a package? (checking preinstall and 
> postinstall scripts in this particular page, but generally I tend to 
> like to look into everything after a while)
(Continue reading)

Lee Braiden | 1 Mar 01:36 2005

Re: content filtering proxy

On Monday 28 February 2005 17:13, ABrady wrote:
> On Mon, 28 Feb 2005 17:02:48 +0100
> andreas.sumper <at> nimbus.at wrote:
> > Right now, I have a shorewall based firewall and a squid proxy server
> > on  another machine, both debian sarge, but afaik squid does not
> > support  content filtering.
>
> Dansguardian
> Privoxy
> SafeSquid
>
> not sure off-hand about safesquid) are available via apt.

Yep, middleman is also worth checking out.  Dansguardian kicks butt for 
parental-control type stuff, if that's what you're after.

If you really mean application level filtering, rather than just web 
filtering, at least one of the firewall packages in sid seems to be highly 
customisable.  I forget the name, but it's written in python, with modules 
for analysing different traffic.  Probably slow as hell, and complicated too, 
though ;)

--

-- 
Lee.


Gmane